File tree Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Expand file tree Collapse file tree 1 file changed +6
-19
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,12 @@ jobs:
29
29
# binary_postfix: ".exe"
30
30
31
31
steps :
32
- - name : Installing Rust toolchain
33
- uses : actions-rs/toolchain@v1
32
+ - uses : dtolnay/rust-toolchain@master
34
33
with :
35
34
toolchain : ${{ matrix.rust }}
36
- override : true
37
- - name : Checkout repository
38
- uses : actions/checkout@v2
39
- - name : Cargo build
40
- uses : actions-rs/cargo@v1
41
- with :
42
- command : build
43
- toolchain : ${{ matrix.rust }}
44
- args : --release --target ${{ matrix.target }}
35
+ targets : " x86_64-apple-darwin, x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc"
36
+ - uses : actions/checkout@v2
37
+ - run : cargo build --release --target ${{ matrix.target }}
45
38
46
39
- name : Packaging final binary
47
40
shell : bash
69
62
runs-on : ubuntu-latest
70
63
steps :
71
64
- uses : actions/checkout@master
72
- - uses : actions-rs/toolchain@v1
73
- with :
74
- toolchain : stable
75
- override : true
76
- - uses : actions-rs/cargo@v1
77
- with :
78
- command : publish
79
- args : --token ${{ secrets.CARGO_API_KEY }} --allow-dirty
65
+ - uses : dtolnay/rust-toolchain@stable
66
+ - run : cargo publish --token ${{ secrets.CARGO_API_KEY }} --allow-dirty
You can’t perform that action at this time.
0 commit comments