Skip to content

Commit 1911fce

Browse files
committed
update build script
1 parent e756902 commit 1911fce

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,16 @@ jobs:
1515
uses: actions/checkout@master
1616

1717
- name: Install latest Rust stable
18-
uses: actions-rs/toolchain@v1
18+
uses: dtolnay/rust-toolchain@stable
1919
with:
2020
toolchain: stable
21-
override: true
22-
target: x86_64-pc-windows-gnu
21+
targets: x86_64-pc-windows-gnu
2322

2423
- name: Run tests
25-
uses: actions-rs/cargo@v1
26-
with:
27-
command: test
28-
args: --release --verbose
24+
run: cargo test --release --verbose
2925

3026
- name: Build
31-
uses: actions-rs/cargo@v1
32-
with:
33-
use-cross: true
34-
command: build
35-
args: --release --verbose --target=x86_64-pc-windows-gnu
27+
run: cargo build --release --verbose --target=x86_64-pc-windows-gnu
3628

3729
- name: Create Release
3830
id: create_release

0 commit comments

Comments
 (0)