fix the github pipeline

This commit is contained in:
Mirek Kratochvil 2022-05-08 13:27:12 +02:00
parent be828d255d
commit e78346ca9b

View File

@ -1,10 +1,7 @@
name: CI name: CI
on: on:
push:
branches: [ master ]
pull_request: pull_request:
branches: [ master ]
workflow_dispatch: workflow_dispatch:
@ -19,7 +16,7 @@ jobs:
- name: Build the thesis - name: Build the thesis
run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en
- name: Upload artifacts - name: Upload artifacts
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v3
with: with:
name: Thesis name: Thesis
path: | path: |
@ -32,6 +29,7 @@ jobs:
container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' } container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' }
steps: steps:
- name: Get PDFs
uses: actions/download-artifact@v3
- name: Run VeraPDF - name: Run VeraPDF
run: > run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0"'
verify *.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0"'