Fix workflows
This commit is contained in:
parent
0ae4ca4510
commit
01b38a0e6e
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -15,7 +15,9 @@ jobs:
|
|||||||
container: { image: 'aergus/latex' }
|
container: { image: 'aergus/latex' }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Install nodejs
|
||||||
|
run: apt-get update && apt-get install -y nodejs
|
||||||
|
- uses: https://gitea.com/ScMi1/checkout@v1
|
||||||
- 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
|
||||||
@ -32,7 +34,9 @@ jobs:
|
|||||||
container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' }
|
container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Install nodejs
|
||||||
|
run: apt-get update && apt-get upgrade -y && apt-get install -y curl && curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
|
||||||
- name: Get PDFs
|
- name: Get PDFs
|
||||||
uses: actions/download-artifact@v3
|
uses: https://gitea.com/actions/download-artifact@v3
|
||||||
- name: Run VeraPDF
|
- name: Run VeraPDF
|
||||||
run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0" failedJobs="0"'
|
run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0" failedJobs="0"'
|
||||||
|
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
@ -11,7 +11,9 @@ jobs:
|
|||||||
container: { image: 'aergus/latex' }
|
container: { image: 'aergus/latex' }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- name: Install nodejs
|
||||||
|
run: apt-get update && apt-get install -y nodejs
|
||||||
|
- uses: https://gitea.com/ScMi1/checkout@v1
|
||||||
- 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: Prepare a website directory
|
- name: Prepare a website directory
|
||||||
|
Loading…
Reference in New Issue
Block a user