mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-15 15:16:37 +00:00
Fix rust installation
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
parent
178974100a
commit
fa20dfa273
1 changed files with 9 additions and 5 deletions
14
.github/actions/just-setup/action.yml
vendored
14
.github/actions/just-setup/action.yml
vendored
|
@ -50,6 +50,15 @@ runs:
|
||||||
run: echo "tools=$tools,$inputs_tools" >>"$GITHUB_ENV"
|
run: echo "tools=$tools,$inputs_tools" >>"$GITHUB_ENV"
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
|
- name: Install rust toolchains for local
|
||||||
|
run: rustup toolchain install stable --no-self-update --profile minimal
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
- name: Install tools
|
||||||
|
uses: taiki-e/install-action@v2
|
||||||
|
with:
|
||||||
|
tool: ${{ env.tools }}
|
||||||
|
|
||||||
- name: Install rust toolchains
|
- name: Install rust toolchains
|
||||||
run: just toolchain
|
run: just toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -57,11 +66,6 @@ runs:
|
||||||
- name: rustc version
|
- name: rustc version
|
||||||
run: rustc -vV
|
run: rustc -vV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Install tools
|
|
||||||
uses: taiki-e/install-action@v2
|
|
||||||
with:
|
|
||||||
tool: ${{ env.tools }}
|
|
||||||
|
|
||||||
- name: Retrieve RUSTFLAGS for caching
|
- name: Retrieve RUSTFLAGS for caching
|
||||||
if: inputs.indexcache || inputs.buildcache
|
if: inputs.indexcache || inputs.buildcache
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue