We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6c4dd8 commit 5b856edCopy full SHA for 5b856ed
.github/workflows/ci.yml
@@ -148,7 +148,7 @@ jobs:
148
run: sudo chown -R "$(id -u):$(id -g)" mkosi.output/
149
150
- name: Save kernel cache
151
- if: github.ref == 'refs/heads/main'
+ if: github.ref == 'refs/heads/main' && steps.kernel-cache.outputs.cache-hit != 'true'
152
uses: actions/cache/save@v4
153
with:
154
path: |
@@ -198,7 +198,7 @@ jobs:
198
run: ./build.py tools
199
200
- name: Save tools cache
201
+ if: github.ref == 'refs/heads/main' && steps.tools-cache.outputs.cache-hit != 'true'
202
203
204
0 commit comments