From 655c9ff0bb40cbbc89d441164b3c18ef0cc069df Mon Sep 17 00:00:00 2001 From: Sreedeep CV Date: Sat, 7 Sep 2024 11:55:35 +0530 Subject: [PATCH] fixing buld failure --- .github/workflows/release.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8caa8bbb..b118e824 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,12 @@ jobs: goarch: arm64 - goos: js goarch: amd64 + - goarch: wasm + goos: windows + - goarch: wasm + goos: linux + - goarch: wasm + goos: darwin steps: - uses: actions/checkout@v3 - uses: wangyoucao577/go-release-action@v1.32 @@ -37,6 +43,6 @@ jobs: extra_files: LICENSE README.md ldflags: -X main.version=${{ github.ref_name }} build_flags: | - ${{ matrix.goos == 'js' && matrix.goarch == 'wasm' && '-a -gcflags=all="-l -B -wb=false" -ldflags="-w -s"' || '-tags=cli' }} + ${{ matrix.goos == 'js' && matrix.goarch == 'wasm' && '-a -gcflags="all=-l -B -wb=false" -ldflags="-w -s"' || '-tags=cli' }} output_name: | ${{ matrix.goos == 'js' && matrix.goarch == 'wasm' && 'main.wasm' }} \ No newline at end of file