File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 11---
2+ name : Release
23on :
34 release :
4- types :
5- - created
5+ types : published
6+
67jobs :
78 cancel-previous-runs :
89 name : Cancel Previous Runs
1314 with :
1415 access_token : ${{ github.token }}
1516 release :
16- name : release ${{ matrix.target }}
17+ name : Release ${{ matrix.os }}
1718 strategy :
1819 fail-fast : false
1920 matrix :
@@ -26,10 +27,13 @@ jobs:
2627 - uses : actions/checkout@v2
2728 with :
2829 ref : ${{ github.ref }}
29- - name : Install Cargo
30- run : curl https://sh.rustup.rs -sSf | sh
31- - name : Build
32- run : cargo build --release
30+ - uses : actions-rs/toolchain@v1
31+ with :
32+ toolchain : stable
33+ - uses : actions-rs/cargo@v1
34+ with :
35+ command : build
36+ args : --release
3337 - name : Upload binaries to release
3438 uses : svenstaro/upload-release-action@v2
3539 with :
You can’t perform that action at this time.
0 commit comments