Skip to content

Commit dd71a87

Browse files
iunanuaclaude
andauthored
fix(ci): pin RUSTUP_TOOLCHAIN (#2041)
# What does this PR do? Pin rustup toolchain version # Motivation ``` error: failed to compile `cargo-public-api v0.50.2`, intermediate artifacts can be found at `/tmp/cargo-installU0E62f`. To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path. Caused by: rustc 1.87.0 is not supported by the following package: home@0.5.12 requires rustc 1.88 ``` --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 5aa4113 commit dd71a87

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release-proposal-dispatch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ jobs:
116116
contents: write
117117
needs: check-membership
118118
runs-on: ubuntu-latest
119+
env:
120+
RUSTUP_TOOLCHAIN: 1.92.0
119121
steps:
120122
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
121123
with:
@@ -135,7 +137,7 @@ jobs:
135137
run: ln -sf ~/.rustup/toolchains/${{ steps.nightly-version.outputs.version }}-x86_64-unknown-linux-gnu ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu
136138
- uses: dtolnay/rust-toolchain@stable
137139
with:
138-
toolchain: 1.92.0
140+
toolchain: ${{ env.RUSTUP_TOOLCHAIN }}
139141
- uses: taiki-e/cache-cargo-install-action@7447f04c51f2ba27ca35e7f1e28fab848c5b3ba7 # 2.3.1
140142
with:
141143
tool: cargo-public-api@0.50.2

0 commit comments

Comments
 (0)