Skip to content

Commit d9cc3ab

Browse files
committed
test
Signed-off-by: Joe Isaacs <[email protected]>
1 parent f4a8c13 commit d9cc3ab

File tree

1 file changed

+1
-22
lines changed

1 file changed

+1
-22
lines changed

.github/actions/setup-rust/action.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,35 +37,14 @@ runs:
3737
targets: "${{inputs.targets || ''}}"
3838
components: "${{ inputs.components || 'clippy, rustfmt' }}"
3939

40-
- name: test print runner
41-
shell: bash
42-
run: |
43-
echo "=== Runner Context ==="
44-
echo "runner.name: ${{ runner.name }}"
45-
echo "runner.os: ${{ runner.os }}"
46-
echo "runner.arch: ${{ runner.arch }}"
47-
echo "runner.environment: ${{ runner.environment }}"
48-
echo "runner.temp: ${{ runner.temp }}"
49-
echo "runner.tool_cache: ${{ runner.tool_cache }}"
50-
echo "runner.debug: ${{ runner.debug }}"
51-
echo ""
52-
echo "=== Environment Variables ==="
53-
env | grep -i runs || true
54-
env | grep -i sccache || true
55-
echo ""
56-
echo "=== Rust Info ==="
57-
echo "Rust version: $(rustc --version)"
58-
echo "Rust toolchain: $(rustup toolchain list)"
59-
6040
# Skip rust-cache when S3 sccache is already configured (detected via SCCACHE_BUCKET env).
6141
# The rust-cache was ~10GB and took 3+ minutes to extract, while sccache
6242
# S3 backend already provides efficient compile caching.
6343
- name: Rust Dependency Cache
64-
if: ${{ !env.SCCACHE_BUCKET }}
6544
uses: Swatinem/rust-cache@v2
6645
with:
6746
save-if: ${{ github.ref_name == 'develop' }}
68-
shared-key: "rust-cache-${{ runner.os }}-${{ runner.environment }}"
47+
shared-key: "rust-cache-${{ runner.os }}-${{ runner.arch }}-${{ runner.environment }}"
6948

7049
- name: Rust Compile Cache
7150
uses: mozilla-actions/[email protected]

0 commit comments

Comments
 (0)