Skip to content

Commit

Permalink
add example files to sf wasm release
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlehane committed Jun 21, 2024
1 parent 4b1a1e5 commit 32375bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ jobs:
go-version: 1.x
- name: Make sf.wasm
run: |
GOOS=js GOARCH=wasm go build -o sf.wasm github.com/richardlehane/siegfried/wasm
GOOS=js GOARCH=wasm go build -o wasm/example/sf.wasm github.com/richardlehane/siegfried/wasm
- name: Zip wasm
run: zip -j siegfried_${{ env.VERSION }}_wasm.zip sf.wasm
run: zip -r -j siegfried_${{ env.VERSION }}_wasm.zip sf.wasm wasm/example wasm/README.md
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 32375bc

Please sign in to comment.