Skip to content

Commit

Permalink
fix: use 'target' for 'actions-rust-lang/setup-rust-toolchain' to fix…
Browse files Browse the repository at this point in the history
… cross build failed (#4661)
  • Loading branch information
zyy17 authored Sep 2, 2024
1 parent 306bd25 commit f0e2d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-macos-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ runs:
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
targets: ${{ inputs.arch }}
target: ${{ inputs.arch }}

- name: Start etcd # For integration tests.
if: ${{ inputs.disable-run-tests == 'false' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-windows-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:
- name: Install rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
targets: ${{ inputs.arch }}
target: ${{ inputs.arch }}
components: llvm-tools-preview

- name: Rust Cache
Expand Down

0 comments on commit f0e2d6e

Please sign in to comment.