Skip to content

Commit

Permalink
Add check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Jan 14, 2025
1 parent 29daefc commit 83c606f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 83c606f

Please sign in to comment.