From 592cfe03aed9931d4ad78825c82e4a38f0846ab0 Mon Sep 17 00:00:00 2001 From: Matthias Weilinger Date: Wed, 25 Oct 2023 09:19:48 +0200 Subject: [PATCH] update worflows --- .../build-and-publish-with-latexmk.yml | 22 ++----------- .github/workflows/build-with-lualatex.yml | 31 +------------------ .github/workflows/build-with-pdflatex.yml | 31 +------------------ 3 files changed, 4 insertions(+), 80 deletions(-) diff --git a/.github/workflows/build-and-publish-with-latexmk.yml b/.github/workflows/build-and-publish-with-latexmk.yml index 0a58a90..9a6c1e9 100644 --- a/.github/workflows/build-and-publish-with-latexmk.yml +++ b/.github/workflows/build-and-publish-with-latexmk.yml @@ -10,31 +10,13 @@ jobs: steps: - name: Set up Git repository uses: actions/checkout@v2 - - name: Compile main-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-german.tex - args: - - name: Compile main-minted-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-minted-german.tex - args: + - name: Compile main-english.tex uses: dante-ev/latex-action@latest with: root_file: main-english.tex args: - - name: Compile main-paderborn-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-paderborn-german.tex - args: - - name: Compile main-paderborn-english.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-paderborn-english.tex - args: + - name: Gather build artifacts run: mkdir build && cp -r main-*.pdf .github/_config.yml docs/* build/ - name: Deploy diff --git a/.github/workflows/build-with-lualatex.yml b/.github/workflows/build-with-lualatex.yml index eeb694a..2552ab3 100644 --- a/.github/workflows/build-with-lualatex.yml +++ b/.github/workflows/build-with-lualatex.yml @@ -6,39 +6,10 @@ jobs: steps: - name: Set up Git repository uses: actions/checkout@v2 - - name: Compile main-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-german.tex - compiler: lualatex - args: - - name: biber main-german - uses: dante-ev/latex-action@latest - with: - root_file: main-german - compiler: biber - args: - - name: Compile main-minted-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-minted-german.tex - compiler: lualatex - args: -shell-escape + - name: Compile main-english.tex uses: dante-ev/latex-action@latest with: root_file: main-english.tex compiler: lualatex args: - - name: Compile main-paderborn-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-paderborn-german.tex - compiler: lualatex - args: - - name: Compile main-paderborn-english.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-paderborn-english.tex - compiler: lualatex - args: diff --git a/.github/workflows/build-with-pdflatex.yml b/.github/workflows/build-with-pdflatex.yml index ca8e676..2f04014 100644 --- a/.github/workflows/build-with-pdflatex.yml +++ b/.github/workflows/build-with-pdflatex.yml @@ -6,39 +6,10 @@ jobs: steps: - name: Set up Git repository uses: actions/checkout@v2 - - name: Compile main-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-german.tex - compiler: pdflatex - args: - - name: biber main-german - uses: dante-ev/latex-action@latest - with: - root_file: main-german - compiler: biber - args: - - name: Compile main-minted-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-minted-german.tex - compiler: pdflatex - args: -shell-escape + - name: Compile main-english.tex uses: dante-ev/latex-action@latest with: root_file: main-english.tex compiler: pdflatex args: - - name: Compile main-paderborn-german.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-paderborn-german.tex - compiler: pdflatex - args: - - name: Compile main-paderborn-english.tex - uses: dante-ev/latex-action@latest - with: - root_file: main-paderborn-english.tex - compiler: pdflatex - args: