Skip to content

Commit 9e17b4f

Browse files
Omega359askalt
authored andcommitted
Disable sccache action to fix gh cache issue (apache#15536)
* Bump sccache version to latest to fix gh cache issue. * version blocked, trying with a hash * disable sccache.
1 parent 62b6feb commit 9e17b4f

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/actions/setup-rust-runtime/action.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ description: 'Setup Rust Runtime Environment'
2020
runs:
2121
using: "composite"
2222
steps:
23-
- name: Run sccache-cache
24-
uses: mozilla-actions/sccache-action@v0.0.4
23+
# https://github.com/apache/datafusion/issues/15535
24+
# disabled because neither version nor git hash works with apache github policy
25+
#- name: Run sccache-cache
26+
# uses: mozilla-actions/sccache-action@65101d47ea8028ed0c98a1cdea8dd9182e9b5133 # v0.0.8
2527
- name: Configure runtime env
2628
shell: bash
2729
# do not produce debug symbols to keep memory usage down
@@ -30,9 +32,11 @@ runs:
3032
#
3133
# Set debuginfo=line-tables-only as debuginfo=0 causes immensely slow build
3234
# See for more details: https://github.com/rust-lang/rust/issues/119560
35+
#
36+
# readd the following to the run below once sccache-cache is re-enabled
37+
# echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
38+
# echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
3339
run: |
34-
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
35-
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
3640
echo "RUST_BACKTRACE=1" >> $GITHUB_ENV
3741
echo "RUSTFLAGS=-C debuginfo=line-tables-only -C incremental=false" >> $GITHUB_ENV
3842

0 commit comments

Comments
 (0)