From 01b38a0e6eebc3c8ea61043934e1e0ceb8b635ba Mon Sep 17 00:00:00 2001 From: "oleg.petruny" Date: Tue, 11 Feb 2025 21:30:38 +0000 Subject: [PATCH] Fix workflows --- .github/workflows/main.yml | 8 ++++++-- .github/workflows/pages.yml | 4 +++- test.txt | 0 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 test.txt diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 228a602..369b557 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,9 @@ jobs: container: { image: 'aergus/latex' } 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 run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en - name: Upload artifacts @@ -32,7 +34,9 @@ jobs: container: { image: 'ghcr.io/mff-cuni-cz/cuni-thesis-validator' } 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 - uses: actions/download-artifact@v3 + uses: https://gitea.com/actions/download-artifact@v3 - name: Run VeraPDF run: verify Thesis/*.pdf | tee /dev/stderr | grep -qE 'nonCompliant="0" failedJobs="0"' diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e8fcebc..8788c5d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -11,7 +11,9 @@ jobs: container: { image: 'aergus/latex' } 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 run: latexmk thesis && latexmk abstract-cz && latexmk abstract-en - name: Prepare a website directory diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..e69de29