Skip to content

Commit 073856d

Browse files
committed
ref: Ensure we always build when skipping cache
1 parent f5decdf commit 073856d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,11 @@ jobs:
177177
with:
178178
path: ${{ env.CACHED_DEPENDENCY_PATHS }}
179179
key: ${{ needs.job_install_deps.outputs.dependency_cache_key }}
180+
180181
- name: Check build cache
181182
uses: actions/cache@v3
182183
id: cache_built_packages
184+
if: needs.job_get_metadata.outputs.force_skip_cache == 'false'
183185
with:
184186
path: ${{ env.CACHED_BUILD_PATHS }}
185187
key: ${{ env.BUILD_CACHE_KEY }}

0 commit comments

Comments
 (0)