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