From ffb0b84d78f9462d74f700a80b23970f78e8cd4d Mon Sep 17 00:00:00 2001 From: Steven Tang Date: Tue, 6 Sep 2022 20:41:04 +1000 Subject: [PATCH] build: re-enable release steps --- .github/workflows/release.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ee4699..b49b475 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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