Skip to content

Commit 8c139c8

Browse files
committed
ci: fix gitignore to allow prebuilt cache files, use git add -f
1 parent 3bd642f commit 8c139c8

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/build-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,6 @@ jobs:
173173
run: |
174174
git config user.name "github-actions[bot]"
175175
git config user.email "github-actions[bot]@users.noreply.github.com"
176-
git add cache/
176+
git add -f cache/
177177
git diff --staged --quiet || git commit -m "ci: update precompiled cache (Processing.o + PCH) for all platforms"
178178
git push

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
.zip
2-
cache/
2+
# Allow prebuilt platform cache files (committed by CI)
3+
cache/**/*.tmp
4+
cache/**/_macro_preprocess_input.cpp
5+

0 commit comments

Comments
 (0)