Skip to content

fix: yet another attempt to upload artifacts (#153) #362

fix: yet another attempt to upload artifacts (#153)

fix: yet another attempt to upload artifacts (#153) #362

Workflow file for this run

name: Build LaTex sources.
on:
push:
pull_request:
jobs:
build:
if: github.event.pull_request.merged == false
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends
python3-yaml
texlive
texlive-fonts-extra
texlive-latex-extra
texlive-luatex
texlive-pictures
texlive-plain-generic
texlive-pstricks
texlive-science
latexmk
ghostscript
poppler-utils
- name: LaTeX compile
run: |
./render --master-tex Snakemake_HPC_Users.tex --configfile config/config_for_github.yaml ;
./render --master-tex Snakemake_HPC_Creators.tex --configfile config/config_for_github.yaml
./render --master-tex Snakemake_HPC_User_Creator_Combi.tex --configfile config/config_for_github.yaml
./render --master-tex Snakemake_HPC_Admins.tex --configfile config/config_for_github.yaml ;
- name: Certificate compile
run: |
cd certificates && ./certificate_generator --exportfile participant_test.csv --textemplate template_english.tex --config config.yaml
- name: Upload .pdf File
uses: actions/upload-artifact@v4
with:
name: Slides
path: |
slides/*.pdf
link:
runs-on: ubuntu-latest
needs: build # make sure the artifacts are uploaded first
permissions:
contents: write # for commenting on your commit
pull-requests: write # for commenting on your pr
steps:
- uses: beni69/artifact-link@v1
with:
token: ${{ github.token }}