Skip to content

Commit cb4022a

Browse files
committed
setup-rust-toolchain doesnt use targets key, fall back to original target instead
1 parent 9c693c1 commit cb4022a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
- uses: actions/checkout@v4
6060
- uses: actions-rust-lang/setup-rust-toolchain@v1
6161
with:
62-
targets: wasm32-unknown-unknown
62+
target: wasm32-unknown-unknown
6363
- name: Download and install Trunk binary
6464
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
6565
- name: Build
@@ -109,7 +109,7 @@ jobs:
109109
- uses: actions/checkout@master
110110
- uses: actions-rust-lang/setup-rust-toolchain@v1
111111
with:
112-
targets: ${{ matrix.TARGET }}
112+
target: ${{ matrix.TARGET }}
113113

114114
- if: ${{ !matrix.cross }}
115115
name: Cargo Build

0 commit comments

Comments
 (0)