@@ -23,34 +23,34 @@ jobs:
2323 package-name : snakemake-hpc-teaching-material
2424
2525
26- # build:
27- # needs: release-please
28- # if: ${{ needs.release-please.outputs.release_created }}
29- # name: Release Artifacts
30- # runs-on: ubuntu-latest
31- # steps:
32- # - uses: actions/checkout@v4
33- # - name: Install Dependencies
34- # run: sudo apt-get update && sudo apt-get install -y --no-install-recommends \
35- # python3-yaml \
36- # texlive \
37- # texlive-fonts-extra \
38- # texlive-latex-extra \
39- # texlive-luatex \
40- # texlive-pictures \
41- # texlive-plain-generic \
42- # texlive-pstricks \
43- # texlive-science \
44- # latexmk \
45- # ghostscript \
46- # poppler-utils
47- # - name: LaTeX compile
48- # run: |
49- # ./render --master-tex Snakemake_HPC_Users.tex --configfile config/config_for_github.yaml
50- # ./render --master-tex Snakemake_HPC_Creators.tex --configfile config/config_for_github.yaml
51- # ./render --master-tex Snakemake_HPC_User_Creator_Combi.tex --configfile config/config_for_github.yaml
52- # ./render --master-tex Snakemake_HPC_Admins.tex --configfile config/config_for_github.yaml
53- # if ls slides/*.pdf 1> /dev/null 2>&1; then
54- # zip slides.zip slides/*pdf || exit 1
55- # else
56- # echo "Error: No PDF files found in slides directory" >&2
26+ build :
27+ needs : release-please
28+ if : ${{ needs.release-please.outputs.release_created }}
29+ name : Release Artifacts
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ - name : Install Dependencies
34+ run : sudo apt-get update && sudo apt-get install -y --no-install-recommends \
35+ python3-yaml \
36+ texlive \
37+ texlive-fonts-extra \
38+ texlive-latex-extra \
39+ texlive-luatex \
40+ texlive-pictures \
41+ texlive-plain-generic \
42+ texlive-pstricks \
43+ texlive-science \
44+ latexmk \
45+ ghostscript \
46+ poppler-utils
47+ - name : LaTeX compile
48+ run : |
49+ ./render --master-tex Snakemake_HPC_Users.tex --configfile config/config_for_github.yaml
50+ ./render --master-tex Snakemake_HPC_Creators.tex --configfile config/config_for_github.yaml
51+ ./render --master-tex Snakemake_HPC_User_Creator_Combi.tex --configfile config/config_for_github.yaml
52+ ./render --master-tex Snakemake_HPC_Admins.tex --configfile config/config_for_github.yaml
53+ if ls slides/*.pdf 1> /dev/null 2>&1; then
54+ zip slides.zip slides/*pdf || exit 1
55+ else
56+ echo "Error: No PDF files found in slides directory" >&2
0 commit comments