-
Notifications
You must be signed in to change notification settings - Fork 38
41 lines (36 loc) · 999 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: release
on:
release:
types: [created]
push:
branches:
- owickstrom/cargo-publish-failure
jobs:
release-crate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/asdf
with:
rust: true
- run: cargo publish --token '${{ secrets.CRATES_TOKEN }}'
working-directory: bindings/rust
build-go-binaries:
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.40
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
sha256sum: true
project_path: cmd/scip
binary_name: scip
ldflags: "-X 'main.Reproducible=true'"
asset_name: scip-${{ matrix.goos }}-${{ matrix.goarch }}
extra_files: LICENSE