From e78346ca9bf7dae6ebb494c0943b056d1b213fcc Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Sun, 8 May 2022 13:27:12 +0200 Subject: [PATCH] fix the github pipeline --- .github/workflows/main.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 06300b9..b8d456d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,7 @@ name: CI on: - push: - branches: [ master ] pull_request: - branches: [ master ] workflow_dispatch: @@ -19,7 +16,7 @@ jobs: - name: Build the thesis run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Thesis path: | @@ -32,6 +29,7 @@ jobs: container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' } steps: + - name: Get PDFs + uses: actions/download-artifact@v3 - name: Run VeraPDF - run: > - verify *.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0"' + run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0"'