Skip to content

Commit e0fe353

Browse files
committed
cache ...
1 parent d717708 commit e0fe353

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

.github/workflows/serve-ximera-split.yml

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,12 @@ jobs:
4646
**/*.png
4747
!.git/**
4848
!.github/**
49-
key: ximeraHTMLexport-${{ github.ref_name }}-latest
49+
key: ximeraPDFexport-${{ github.ref_name }}-${{ github.run_id }}
5050
restore-keys: |
51-
ximeraPDFexport-${{ github.ref_name }}-latest
51+
ximeraHTMLexport-${{ github.ref_name }}-
52+
ximeraPDFexport-${{ github.ref_name }}-
53+
ximeraPDFexport-
54+
ximeraHTMLexport-
5255
5356
- run: |
5457
# git config --global --add safe.directory /code
@@ -57,21 +60,21 @@ jobs:
5760
export LUA_PATH="/root/texmf/tex/latex/ximeraLatex/luaxake/?.lua;;"
5861
xmlatex bake --compile pdfexport -j 5 $XM_TO_PROCESS
5962
60-
# Save cache for future runs
61-
- uses: actions/cache/save@v4
62-
with:
63-
path: |
64-
**/*.pdf
65-
**/*.html
66-
**/*.aux
67-
**/*.log
68-
**/*.toc
69-
**/*.xref
70-
**/*.svg
71-
**/*.png
72-
!.git/**
73-
!.github/**
74-
key: ximeraPDFexport-${{ github.ref_name }}-latest
63+
# # Save cache for future runs
64+
# - uses: actions/cache/save@v4
65+
# with:
66+
# path: |
67+
# **/*.pdf
68+
# **/*.html
69+
# **/*.aux
70+
# **/*.log
71+
# **/*.toc
72+
# **/*.xref
73+
# **/*.svg
74+
# **/*.png
75+
# !.git/**
76+
# !.github/**
77+
# key: ximeraPDFexport-${{ github.ref_name }}-latest
7578

7679
# Upload artifact for next job
7780
- uses: actions/upload-artifact@v4
@@ -121,7 +124,7 @@ jobs:
121124
**/*.png
122125
!.git/**
123126
!.github/**
124-
key: ximeraHTMLexport-${{ github.ref_name }}-latest
127+
key: ximeraHTMLexport-${{ github.ref_name }}-${{ github.run_id }}
125128

126129
# Upload artifact
127130
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)