Skip to content

Commit cf026fc

Browse files
kariyclaude
andcommitted
fix(ci): install cargo-release with +stable toolchain
The repo's rust-toolchain.toml pins 1.90.0, which overrides the workflow's stable setup during cargo install. cargo-release 1.1.2 requires rustc 1.91, so the install fails. Use +stable to compile the helper CLIs against the latest toolchain regardless of the repo override. Same fix applied to cargo-get to prevent future drift. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent af109db commit cf026fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-dispatch.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ jobs:
2626
- run: |
2727
VERSION=${{ inputs.version }}
2828
VERSION=${VERSION#v}
29-
cargo install cargo-release --locked
29+
cargo +stable install cargo-release --locked
3030
cargo release version $VERSION --execute --no-confirm && cargo release replace --execute --no-confirm
3131
3232
- id: version_info
3333
run: |
34-
cargo install cargo-get --locked
34+
cargo +stable install cargo-get --locked
3535
echo "version=$(cargo get workspace.package.version)" >> $GITHUB_OUTPUT
3636
3737
- uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)