From 83c606f95586f516d93c20bfd5dcd6d21ae61f97 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Tue, 14 Jan 2025 08:50:00 +0100 Subject: [PATCH] Add check.yml --- .github/workflows/check.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..1f53f8d --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,28 @@ +name: latexmk paper +on: + push: + workflow_dispatch: +concurrency: + group: "${{ github.workflow }}-${{ github.head_ref || github.ref }}" + cancel-in-progress: true +jobs: + check: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v4 + - name: Install TeX Live + uses: zauguin/install-texlive@v3 + with: + package_file: '${{ github.workspace }}/Texlivefile' + - name: Prepare latexmk + run: | + updmap -sys + texhash + tlmgr generate language --rebuild-sys + - run: latexmk paper + - uses: actions/upload-artifact@v4 + with: + name: test-result + path: | + paper.pdf