mirror of
https://github.com/nushell/nushell.git
synced 2025-01-11 00:38:23 +01:00
Use setup-rust-toolchain for release workflow (#7315)
# Description Use setup-rust-toolchain for release workflow to inline with the CI workflow Test workflow: https://github.com/hustcer/nu-release/actions/runs/3598316520 Demo Release: https://github.com/hustcer/nu-release/releases/tag/v0.72.8
This commit is contained in:
parent
cf0a18be51
commit
94c89eb623
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -61,16 +61,12 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3.1.0
|
||||
|
||||
- name: Install Rust Toolchain Components
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
with:
|
||||
toolchain: stable
|
||||
target: ${{ matrix.target }}
|
||||
|
||||
- name: Update Rust Toolchain Target
|
||||
run: |
|
||||
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml
|
||||
cat rust-toolchain.toml
|
||||
|
||||
- name: Setup Rust toolchain and cache
|
||||
uses: actions-rust-lang/setup-rust-toolchain@v1.3.4
|
||||
|
||||
- name: Setup Nushell
|
||||
uses: hustcer/setup-nu@v3
|
||||
|
Loading…
Reference in New Issue
Block a user