Skip to content

Commit c6160b9

Browse files
committed
update release.yml
1 parent 04ef2e6 commit c6160b9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
release:
9-
name: release ${{ matrix.target }} (with non-required env)
9+
name: release ${{ matrix.target }}
1010
runs-on: ubuntu-latest
1111
if: github.event_name == 'release'
1212
strategy:
@@ -22,11 +22,17 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@master
2424
- name: Compile and release
25-
uses: rust-build/rust-build.action@master
25+
id: compile
26+
uses: rust-build/[email protected]
2627
env:
2728
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2829
with:
2930
RUSTTARGET: ${{ matrix.target }}
30-
EXTRA_FILES: "LICENSE README.md"
31-
SRC_DIR: "hello"
3231
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 }}

0 commit comments

Comments
 (0)