File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ permissions :
4+ contents : write
5+
6+ on :
7+ push :
8+ tags :
9+ - v[0-9]+.*
10+
11+ jobs :
12+ create-release :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - uses : taiki-e/create-gh-release-action@v1
17+ with :
18+ token : ${{ secrets.GITHUB_TOKEN }}
19+
20+ upload-assets :
21+ needs : create-release
22+ strategy :
23+ matrix :
24+ include :
25+ - target : x86_64-unknown-linux-gnu
26+ os : ubuntu-latest
27+ - target : x86_64-apple-darwin
28+ os : macos-latest
29+ - target : x86_64-pc-windows-msvc
30+ os : windows-latest
31+ runs-on : ${{ matrix.os }}
32+ steps :
33+ - uses : actions/checkout@v4
34+ - uses : taiki-e/upload-rust-binary-action@v1
35+ with :
36+ bin : intel_fw
37+ # (optional) Target triple, default is host triple.
38+ # This is optional but it is recommended that this always be set to
39+ # clarify which target you are building for if macOS is included in
40+ # the matrix because GitHub Actions changed the default architecture
41+ # of macos-latest since macos-14.
42+ target : ${{ matrix.target }}
43+ # (optional) On which platform to distribute the `.tar.gz` file.
44+ tar : unix
45+ # (optional) On which platform to distribute the `.zip` file.
46+ zip : windows
47+ # (required) GitHub token for uploading assets to GitHub Releases.
48+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments