File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-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@v3
16+ - uses : taiki-e/create-gh-release-action@v1
17+ with :
18+ # (required) GitHub token for creating GitHub Releases.
19+ token : ${{ secrets.GIT_CREDENTIALS }}
20+
21+ upload-assets :
22+ strategy :
23+ matrix :
24+ os :
25+ - ubuntu-latest
26+ - macos-latest
27+ - windows-latest
28+ runs-on : ${{ matrix.os }}
29+ steps :
30+ - uses : actions/checkout@v3
31+ - uses : taiki-e/upload-rust-binary-action@v1
32+ with :
33+ # (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.
34+ # Note that glob pattern is not supported yet.
35+ bin : server-bot-rust
36+ # (optional) On which platform to distribute the `.tar.gz` file.
37+ # [default value: unix]
38+ # [possible values: all, unix, windows, none]
39+ tar : unix
40+ # (optional) On which platform to distribute the `.zip` file.
41+ # [default value: windows]
42+ # [possible values: all, unix, windows, none]
43+ zip : windows
44+ # (required) GitHub token for uploading assets to GitHub Releases.
45+ token : ${{ secrets.GIT_CREDENTIALS }}
You can’t perform that action at this time.
0 commit comments