Skip to content

Commit e315692

Browse files
committed
ci(deploy): fix targets
1 parent 65634d9 commit e315692

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

.github/workflows/deploy.yaml

+11-6
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@ jobs:
6464
- uses: actions/checkout@v4
6565

6666
- uses: dtolnay/rust-toolchain@stable
67-
with:
68-
targets: ${{ matrix.target }}
67+
68+
- name: Install compilation target
69+
run: rustup target add ${{ matrix.target }}
70+
6971

7072
- name: Build
7173
run: cargo build --target ${{ matrix.target }} --release --all-features
@@ -94,8 +96,9 @@ jobs:
9496
- uses: actions/checkout@v4
9597

9698
- uses: dtolnay/rust-toolchain@stable
97-
with:
98-
targets: ${{ matrix.target }}
99+
100+
- name: Install compilation target
101+
run: rustup target add ${{ matrix.target }}
99102

100103
- name: Build
101104
run: cargo build --target ${{ matrix.target }} --release --all-features
@@ -125,8 +128,10 @@ jobs:
125128
- uses: actions/checkout@v4
126129

127130
- uses: dtolnay/rust-toolchain@stable
128-
with:
129-
targets: ${{ matrix.target }}
131+
132+
- name: Install compilation target
133+
run: rustup target add ${{ matrix.target }}
134+
130135

131136
- name: Build
132137
run: cargo build --target ${{ matrix.target }} --release --all-features

0 commit comments

Comments
 (0)