Skip to content

Commit 2ed0c0b

Browse files
committed
Continue on sccache failures
1 parent f096d9b commit 2ed0c0b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/library-rawkit.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ jobs:
3838
3939
- name: 📦 Run sccache-cache
4040
uses: mozilla-actions/[email protected]
41+
continue-on-error: true
42+
43+
- name: 🔧 Fallback if sccache fails
44+
if: failure()
45+
run: |
46+
echo "sccache failed, disabling it"
47+
echo "RUSTC_WRAPPER=" >> $GITHUB_ENV
4148
4249
- name: 🔬 Check Rust formatting
4350
run: |
@@ -56,4 +63,4 @@ jobs:
5663
5764
- name: 📈 Run sccache stat for check
5865
shell: bash
59-
run: sccache --show-stats
66+
run: sccache --show-stats || echo "sccache stats unavailable"

0 commit comments

Comments
 (0)