Skip to content

Commit 4da4f48

Browse files
committed
with new cache we can't alway save the cache anymore without removing previous one.
This means typst caching is way less efficient than designed initially. This change will allow to use the cache, but it will require manual update of the id to trigger a new caching
1 parent 474b198 commit 4da4f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test-smokes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ jobs:
293293
path: tests/timing-for-ci.txt
294294

295295
- name: Save Typst cache
296-
if: always()
296+
if: always() && steps.cache-typst.outputs.cache-hit != 'true'
297297
uses: actions/cache/save@v4
298298
with:
299299
key: ${{ steps.cache-typst.outputs.cache-primary-key }}

0 commit comments

Comments
 (0)