1
0
Fork 0
mirror of https://github.com/kastenhq/kubestr.git synced 2024-12-14 11:57:56 +00:00
kastenhq-kubestr/.github/workflows/release.yaml

25 lines
608 B
YAML
Raw Normal View History

2020-11-30 19:51:33 +00:00
name: Release
2020-11-30 19:39:06 +00:00
2020-11-30 19:51:33 +00:00
on:
2020-11-30 19:39:06 +00:00
release:
2020-11-30 19:51:33 +00:00
types: [created, edited]
2020-11-30 19:39:06 +00:00
jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
strategy:
matrix:
2020-11-30 22:53:21 +00:00
# build and publish in parallel: linux/amd64, windows/amd64, darwin/amd64
2020-11-30 19:39:06 +00:00
goos: [linux, windows, darwin]
2020-11-30 22:53:21 +00:00
goarch: [amd64]
2020-11-30 19:39:06 +00:00
steps:
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@v1.11
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "kubestr"
extra_files: LICENSE README.md