Skip to content

Commit 3d5b9c7

Browse files
committed
Add pipeline
1 parent 9bc3cd2 commit 3d5b9c7

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Rust
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
create-release:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: taiki-e/create-gh-release-action@v1
18+
with:
19+
# (required) GitHub token for creating GitHub Releases.
20+
token: ${{ secrets.GITHUB_TOKEN }}
21+
22+
upload-assets:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v3
26+
- uses: taiki-e/upload-rust-binary-action@v1
27+
with:
28+
bin: vonal,vonalc
29+
archive: vonal
30+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)