diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 629fe4d..347eae8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,14 +82,15 @@ jobs: run: ./test_final_exec.sh build-exec: needs: [unit-test, integration-test] + runs-on: cdk_standard + strategy: + matrix: + # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 + goos: [linux, windows, darwin] + goarch: [amd64, arm64] steps: - uses: actions/checkout@v4 - uses: wangyoucao577/go-release-action@v1.48 - strategy: - matrix: - # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 - goos: [linux, windows, darwin] - goarch: [amd64, arm64] with: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} @@ -105,4 +106,4 @@ jobs: with: release: true push: true - image_tags: ${{ needs.tags.outputs.image_tags }} \ No newline at end of file + image_tags: ${{ needs.tags.outputs.image_tags }}