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" 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
@ -58,11 +67,6 @@ runs:
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
id: retrieve-rustflags id: retrieve-rustflags