forked from extern/nushell
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:
|
steps:
|
||||||
- uses: actions/checkout@v3.1.0
|
- 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
|
- name: Update Rust Toolchain Target
|
||||||
run: |
|
run: |
|
||||||
echo "targets = ['${{matrix.target}}']" >> rust-toolchain.toml
|
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
|
- name: Setup Nushell
|
||||||
uses: hustcer/setup-nu@v3
|
uses: hustcer/setup-nu@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user