Skip to content

Commit 8dc0591

Browse files
committed
updating github actions release.yml
1 parent fff0175 commit 8dc0591

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,12 @@ jobs:
5454
sudo apt install -qy gcc musl-tools
5555
5656
- name: Install Rust
57-
uses: actions-rs/toolchain@v1
57+
uses: dtolnay/rust-toolchain@stable
5858
with:
59-
toolchain: stable
60-
profile: minimal
61-
override: true
62-
target: ${{ matrix.target }}
59+
targets: ${{ matrix.target }}
6360

6461
- name: Build target
65-
uses: actions-rs/cargo@v1
66-
with:
67-
command: build
68-
args: --release --locked --target ${{ matrix.target }}
62+
run: cargo build --release --locked --target ${{ matrix.target }}
6963

7064
- name: Build archive
7165
shell: bash

0 commit comments

Comments
 (0)