Skip to content

Commit

Permalink
wasm-build CI workflow: publish AtomVM.worker.js when tagging too
Browse files Browse the repository at this point in the history
AtomVM.js and AtomVM.worker.js are both needed.

Signed-off-by: Davide Bettio <[email protected]>
  • Loading branch information
bettio committed Oct 7, 2023
1 parent 90f684c commit 7e5da82
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/wasm-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,9 @@ jobs:
ATOMVM_JS=AtomVM-${{ github.ref_name }}.js
mv AtomVM.js "${ATOMVM_JS}"
sha256sum "${ATOMVM_JS}" > "${ATOMVM_JS}.sha256"
ATOMVM_WORKER_JS=AtomVM.worker${{ github.ref_name }}.js
mv AtomVM.worker.js "${ATOMVM_WORKER_JS}"
sha256sum "${ATOMVM_WORKER_JS}" > "${ATOMVM_WORKER_JS}.sha256"
popd
pushd build/examples/emscripten/
SERVER_FILE=wasm_webserver-${{ github.ref_name }}.avm
Expand All @@ -214,5 +217,7 @@ jobs:
files: |
src/platforms/emscripten/build/src/AtomVM-${{ github.ref_name }}.js
src/platforms/emscripten/build/src/AtomVM-${{ github.ref_name }}.js.sha256
src/platforms/emscripten/build/src/AtomVM.worker-${{ github.ref_name }}.js
src/platforms/emscripten/build/src/AtomVM.worker-${{ github.ref_name }}.js.sha256
build/examples/emscripten/wasm_webserver-${{ github.ref_name }}.avm
build/examples/emscripten/wasm_webserver-${{ github.ref_name }}.avm.sha256

0 comments on commit 7e5da82

Please sign in to comment.