File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
release :
9
- name : release ${{ matrix.target }} (with non-required env)
9
+ name : release ${{ matrix.target }}
10
10
runs-on : ubuntu-latest
11
11
if : github.event_name == 'release'
12
12
strategy :
@@ -22,11 +22,17 @@ jobs:
22
22
steps :
23
23
- uses : actions/checkout@master
24
24
- name : Compile and release
25
- uses : rust-build/rust-build.action@master
25
+ id : compile
26
+ uses :
rust-build/[email protected]
26
27
env :
27
28
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
29
with :
29
30
RUSTTARGET : ${{ matrix.target }}
30
- EXTRA_FILES : " LICENSE README.md"
31
- SRC_DIR : " hello"
32
31
ARCHIVE_TYPES : ${{ matrix.archive }}
32
+ - name : Upload artifact
33
+ uses : actions/upload-artifact@v3
34
+ with :
35
+ name : Binary
36
+ path : |
37
+ ${{ steps.compile.outputs.BUILT_ARCHIVE }}
38
+ ${{ steps.compile.outputs.BUILT_CHECKSUM }}
You can’t perform that action at this time.
0 commit comments