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