File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 # incremental dirs add nothing but bloat the cached target/ directory and
1919 # slow the cache upload/download.
2020 CARGO_INCREMENTAL : " 0"
21+ # sccache uses this when the server starts. Set it at workflow scope so the
22+ # probe step can actually start the server with the GitHub Actions backend.
23+ SCCACHE_GHA_ENABLED : " true"
2124 # vcpkg binary caching for Windows. The x-gha backend was removed from vcpkg,
2225 # so use vcpkg's files provider and persist that directory with actions/cache.
2326 VCPKG_GIT_COMMIT : fb87e2bb3fe69e16c224989acb5a61349166c782
@@ -144,7 +147,6 @@ jobs:
144147 if : runner.os == 'Windows'
145148 shell : bash
146149 run : |
147- echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
148150 if sccache --start-server >/dev/null 2>&1; then
149151 echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
150152 echo "enabled=true" >> "$GITHUB_OUTPUT"
Original file line number Diff line number Diff line change 2323 # empty results on non-diff events (workflow_dispatch); the `if:` guards
2424 # below explicitly opt manual runs back into running everything.
2525 changes :
26- name : Detect changes
26+ name : Detect Changes
2727 runs-on : ubuntu-latest
2828 outputs :
2929 builds : ${{ steps.filter.outputs.builds }}
Original file line number Diff line number Diff line change 1818 # incremental dirs add nothing but bloat the cached target/ directory and
1919 # slow the cache upload/download.
2020 CARGO_INCREMENTAL : " 0"
21+ # sccache uses this when the server starts. Set it at workflow scope so the
22+ # probe step can actually start the server with the GitHub Actions backend.
23+ SCCACHE_GHA_ENABLED : " true"
2124 # vcpkg binary caching for Windows (mirrors builds.yml). The x-gha backend
2225 # was removed from vcpkg, so use vcpkg's files provider and persist that
2326 # directory with actions/cache.
@@ -145,7 +148,6 @@ jobs:
145148 if : runner.os == 'Windows'
146149 shell : bash
147150 run : |
148- echo "SCCACHE_GHA_ENABLED=true" >> "$GITHUB_ENV"
149151 if sccache --start-server >/dev/null 2>&1; then
150152 echo "RUSTC_WRAPPER=sccache" >> "$GITHUB_ENV"
151153 echo "enabled=true" >> "$GITHUB_OUTPUT"
You can’t perform that action at this time.
0 commit comments