Skip to content

Commit 297aae5

Browse files
committed
ci: add release yaml
1 parent 23cefa6 commit 297aae5

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Release
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
9+
concurrency:
10+
group: ${{ github.workflow }}
11+
12+
env:
13+
RUST_BACKTRACE: 1
14+
15+
jobs:
16+
test:
17+
uses: semantic-release-action/rust/.github/workflows/ci.yml@v5
18+
19+
release:
20+
uses: semantic-release-action/rust/.github/workflows/release-binary.yml@v5
21+
with:
22+
toolchain: stable
23+
targets: |
24+
aarch64-apple-darwin
25+
x86_64-unknown-linux-gnu
26+
secrets:
27+
cargo-registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}

0 commit comments

Comments
 (0)