Skip to content

Commit

Permalink
ci: Add release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src committed Aug 8, 2022
1 parent 552e26c commit b8411c0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: release

on:
push:
tags:
- v*

jobs:
release-image:
runs-on: ubuntu-latest

strategy:
matrix:
goos: [linux, darwin]
goarch: [amd64, arm64]

steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
sha256sum: true
project_path: cmd
binary_name: scip
asset_name: scip-${{ matrix.goos }}-${{ matrix.goarch }}
extra_files: LICENSE

0 comments on commit b8411c0

Please sign in to comment.