We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c0f1db commit 1b0373cCopy full SHA for 1b0373c
.github/workflows/release.yml
@@ -49,9 +49,18 @@ jobs:
49
with:
50
submodules: recursive
51
52
+ - name: Print rustup toolchain version
53
+ shell: bash
54
+ id: rustup-version
55
+ run: |
56
+ export RUST_TOOLCHAIN_VERSION="$(grep 'channel' rust-toolchain.toml | head -1 | awk -F '"' '{print $2}')"
57
+ echo "Rust toolchain version: $RUST_TOOLCHAIN_VERSION"
58
+ echo "RUST_TOOLCHAIN_VERSION=$RUST_TOOLCHAIN_VERSION" >> "$GITHUB_OUTPUT"
59
+
60
- name: Install Rust
61
uses: dtolnay/rust-toolchain@stable
62
63
+ toolchain: '${{ steps.rustup-version.outputs.RUST_TOOLCHAIN_VERSION }}'
64
targets: ${{ matrix.target }}
65
66
- name: Cache Rust
0 commit comments