File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : upload
22
33on :
4+ push :
5+ workflow_dispatch :
46 release :
57 types : [created]
68
@@ -32,24 +34,21 @@ jobs:
3234 with :
3335 profile : minimal
3436 toolchain : ${{ matrix.rust }}
35- override : true
37+ override : false
3638
3739 - name : Add mingw64 to path for x86_64-gnu
3840 run : echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
3941 if : matrix.rust == 'nightly-x86_64-gnu'
4042 shell : bash
4143
42- - name : Install cargo-make
43- uses : actions-rs/cargo@v1
44- with :
45- command : install
46- args : --force cargo-make
47-
4844 - name : Build release binaries
4945 uses : actions-rs/cargo@v1
5046 with :
51- command : make
52- args : release
47+ command : build
48+ args : --release
49+ env :
50+ CFG_RELEASE : nightly
51+ CFG_RELEASE_CHANNEL : nightly
5352
5453 - name : Build archive
5554 shell : bash
7069 fi
7170
7271 - name : Upload Release Asset
72+ if : github.event_name == 'release'
7373 uses : actions/upload-release-asset@v1
7474 env :
7575 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments