Skip to content

Commit

Permalink
Add explicit cache job (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Mar 14, 2024
1 parent 070e1e8 commit f2b6c29
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ concurrency:
cancel-in-progress: true

jobs:
cache:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
show-progress: ''
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
package_file: Texlivefile
cache_version: ${{ github.event.inputs.cache_version }}
build:
needs: [cache]
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -34,6 +47,7 @@ jobs:
with:
package_file: Texlivefile
cache_version: ${{ github.event.inputs.cache_version }}

- name: Generate lni.cls, *.tex, ...
run: |
pdflatex lni.ins
Expand All @@ -52,9 +66,11 @@ jobs:
- name: Generate mybibfile.bib
run: touch mybibfile.bib

# lni-author-template
- run: ${{ matrix.engine }} lni-author-template
- run: texlogsieve lni-author-template.log

# lni-paper-example-de
- run: ${{ matrix.engine }} lni-paper-example-de
- run: biber lni-paper-example-de
- run: ${{ matrix.engine }} lni-paper-example-de
Expand Down

0 comments on commit f2b6c29

Please sign in to comment.