Skip to content

Commit

Permalink
Update check-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Apr 3, 2024
1 parent 3de609a commit 9c03494
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,13 @@ jobs:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-py-cache

- name: Caching chapter aux files
uses: actions/cache@v4
with:
path: chapters/
key: chapters-tex-cache

- name: Caching output files
uses: actions/cache@v4
- name: LaTeX cache restore
uses: actions/cache/restore@v4
with:
path: ./
key: output-cache
path: |
chapters/
hpmor.pdf
key: latex-cache

- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -50,13 +46,27 @@ jobs:
fetch-depth: 1 # 0 if you want to push to repo

- name: check 1
run: ls -l
run: |
ls -l hpmor.*
ls -l chapters/hpmor-chapter-000
- name: mod
run: cp hpmor.tex hpmor2.pdf
run: |
cp hpmor.tex hpmor.pdf
cp hpmor.tex chapters/hpmor-chapter-000.aux
- name: check 2
run: ls -l
run: |
ls -l hpmor.*
ls -l chapters/hpmor-chapter-000
- name: LaTeX cache save
uses: actions/cache/save@v4
with:
path: |
chapters/
hpmor.pdf
key: latex-cache

# - name: Check chapters for known issues
# run: python3 -O scripts/check_chapters.py
Expand Down

0 comments on commit 9c03494

Please sign in to comment.