File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : upload
2
2
3
3
on :
4
+ push :
5
+ workflow_dispatch :
4
6
release :
5
7
types : [created]
6
8
@@ -32,24 +34,21 @@ jobs:
32
34
with :
33
35
profile : minimal
34
36
toolchain : ${{ matrix.rust }}
35
- override : true
37
+ override : false
36
38
37
39
- name : Add mingw64 to path for x86_64-gnu
38
40
run : echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
39
41
if : matrix.rust == 'nightly-x86_64-gnu'
40
42
shell : bash
41
43
42
- - name : Install cargo-make
43
- uses : actions-rs/cargo@v1
44
- with :
45
- command : install
46
- args : --force cargo-make
47
-
48
44
- name : Build release binaries
49
45
uses : actions-rs/cargo@v1
50
46
with :
51
- command : make
52
- args : release
47
+ command : build
48
+ args : --release
49
+ env :
50
+ CFG_RELEASE : nightly
51
+ CFG_RELEASE_CHANNEL : nightly
53
52
54
53
- name : Build archive
55
54
shell : bash
70
69
fi
71
70
72
71
- name : Upload Release Asset
72
+ if : github.event_name == 'release'
73
73
uses : actions/upload-release-asset@v1
74
74
env :
75
75
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments