Skip to content

Commit 66ab8a3

Browse files
author
rzmk
committed
ci: add release.yml
1 parent 55162fb commit 66ab8a3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/release.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
os:
25+
- ubuntu-latest
26+
- macos-latest
27+
- windows-latest
28+
runs-on: ${{ matrix.os }}
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: taiki-e/upload-rust-binary-action@v1
32+
with:
33+
bin: ch
34+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)