Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
fix: auto WATM build on release file pattern
Browse files Browse the repository at this point in the history
Signed-off-by: Gaukas Wang <i@gaukas.wang>
  • Loading branch information
gaukas committed Feb 5, 2024
1 parent dbc8844 commit 1535a76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
with:
tinygo-version: '0.30.0'
- name: Build WASI Artifacts
run: tinygo build -o ${{ matrix.watm.name }}.wasm
run: tinygo build -o tinygo_v0_${{ matrix.watm.name }}.wasm
-target=wasi -no-debug -scheduler=${{ matrix.watm.scheduler }}
-gc=${{ matrix.watm.gc }} -tags=${{ matrix.watm.tags }}
./tinygo/v0/examples/${{ matrix.watm.name }}/
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: tinygo_v0_${{ matrix.watm.name }}.wasm
path: ${{ matrix.watm.name }}.wasm
name: tinygo_v0_${{ matrix.watm.name }}
path: tinygo_v0_${{ matrix.watm.name }}.wasm
retention-days: 1

release:
Expand All @@ -59,4 +59,4 @@ jobs:
with:
name: ${{ github.ref_name }}
files: |
release-${{ github.ref_name }}/*.wasm
release-${{ github.ref_name }}/*/*.wasm

0 comments on commit 1535a76

Please sign in to comment.