Skip to content

Commit

Permalink
ci: replace wapm with artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Syuparn committed Nov 22, 2023
1 parent a202dd1 commit afb584c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 29 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/wapm.yml → .github/workflows/wasi.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: wapm
name: wasi

on:
push:
Expand All @@ -16,13 +16,10 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: "1.21"
- name: build wasm
- name: build wasi
run: GOOS=wasip1 GOARCH=wasm go build -o pangaea.wasm
# deploy to wapm
- name: install wapm cli
uses: wasmerio/setup-wasmer@v1
- name: publish to wapm
uses: wasmerio/wapm-publish@v1
- name: upload wasi
uses: actions/upload-artifact@v3
with:
username: ${{ secrets.WAPM_USERNAME }}
password: ${{ secrets.WAPM_PASSWORD }}
name: wasi
path: pangaea.wasm
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pangaea.exe
pangaea
# wasm binary
web/wasm/*.wasm
*.wasm
# bundles in playground
web/playground/*.wasm
web/playground/wasm_exec.js
Expand Down
20 changes: 0 additions & 20 deletions wapm.toml

This file was deleted.

0 comments on commit afb584c

Please sign in to comment.