fix: syntax #411
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |