Skip to content

Commit a928212

Browse files
authored
chore: fail on cache miss during restore build folders step [DX-729] (#3220)
1 parent 6046d6e commit a928212

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/check.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
dist
3737
build
3838
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
39+
fail-on-cache-miss: true
3940

4041
# Prior ci publishing did not lint or format, commented out to preserve workflow
4142
# - name: Run linter

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
dist
6464
build
6565
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
66+
fail-on-cache-miss: true
6667
- name: Run Release
6768
run: |
6869
echo "Starting Semantic Release Process"

.github/workflows/test-e2e.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
dist
4444
build
4545
key: build-cache-${{ github.run_id }}-${{ github.run_attempt }}
46+
fail-on-cache-miss: true
4647

4748
- name: Run e2e tests
4849
run: chmod +x build/contentful-cli-* && npm run test:e2e

0 commit comments

Comments
 (0)