Fix rust installation

Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
This commit is contained in:
Jiahao XU 2024-11-05 19:51:30 +11:00 committed by GitHub
parent 178974100a
commit fa20dfa273
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,6 +50,15 @@ runs:
run: echo "tools=$tools,$inputs_tools" >>"$GITHUB_ENV"
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
run: just toolchain
shell: bash
@ -57,11 +66,6 @@ runs:
- name: rustc version
run: rustc -vV
shell: bash
- name: Install tools
uses: taiki-e/install-action@v2
with:
tool: ${{ env.tools }}
- name: Retrieve RUSTFLAGS for caching
if: inputs.indexcache || inputs.buildcache