Skip to content

Commit 61e6df3

Browse files
Another try
1 parent 80eab1e commit 61e6df3

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/builds.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ env:
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"

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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 }}

.github/workflows/tests.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ env:
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"

0 commit comments

Comments
 (0)