File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 5656 run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
5757
5858 - name : Build without -no-debug (debug version)
59- run : tinygo build -target=wasip1 -buildmode=c-shared -scheduler asyncify -o plugin.wasm .
59+ run : |
60+ export TINYGOROOT=/usr/local/lib/tinygo
61+ tinygo build -target=wasip1 -buildmode=c-shared -scheduler asyncify -o plugin.wasm .
6062
6163 - name : Package debug version
6264 run : zip plugin-debug-${{ steps.vars.outputs.sha_short }}.zip plugin.wasm plugin.json
Original file line number Diff line number Diff line change @@ -49,13 +49,17 @@ jobs:
4949 cp -r /usr/local/lib/tinygo ~/tinygo-cache/lib/
5050
5151 - name : Build with -no-debug
52- run : tinygo build -target=wasip1 -no-debug -buildmode=c-shared -scheduler asyncify -o plugin.wasm .
52+ run : |
53+ export TINYGOROOT=/usr/local/lib/tinygo
54+ tinygo build -target=wasip1 -no-debug -buildmode=c-shared -scheduler asyncify -o plugin.wasm .
5355
5456 - name : Package release version
5557 run : zip plugin-release-${{ github.ref_name }}.zip plugin.wasm plugin.json
5658
5759 - name : Build without -no-debug (debug version)
58- run : tinygo build -target=wasip1 -buildmode=c-shared -scheduler asyncify -o plugin.wasm .
60+ run : |
61+ export TINYGOROOT=/usr/local/lib/tinygo
62+ tinygo build -target=wasip1 -buildmode=c-shared -scheduler asyncify -o plugin.wasm .
5963
6064 - name : Package debug version
6165 run : zip plugin-debug-${{ github.ref_name }}.zip plugin.wasm plugin.json
You can’t perform that action at this time.
0 commit comments