build: re-enable release steps

This commit is contained in:
Steven Tang 2022-09-06 20:41:04 +10:00
parent 8a7333b899
commit ffb0b84d78
No known key found for this signature in database
GPG Key ID: C7B961512342C50E
1 changed files with 8 additions and 8 deletions

View File

@ -1,16 +1,16 @@
name: Release
on:
push:
# release:
# types:
# - published
release:
types:
- published
jobs:
release:
name: 'Build, package and release to GitHub'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
GOOS: [darwin, windows, linux]
GOARCH: [amd64, arm64]
@ -48,7 +48,7 @@ jobs:
run: |
zip -9 wakapi_${{ matrix.GOOS }}_${{ matrix.GOARCH }}.zip *
# - name: Upload built executable to Release
# uses: softprops/action-gh-release@v1
# with:
# files: wakapi_${{ matrix.alias }}_amd64.zip
- name: Upload built executable to Release
uses: softprops/action-gh-release@v1
with:
files: ./dist/*.zip