Skip to content

Commit

Permalink
fixing buld failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreedeep-rougeloop committed Sep 7, 2024
1 parent c4bb8aa commit 655c9ff
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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' }}

0 comments on commit 655c9ff

Please sign in to comment.