From 4af7d876127eb89836fc6a8642d02ad28060e0d9 Mon Sep 17 00:00:00 2001 From: zyxkad Date: Fri, 18 Aug 2023 12:38:57 -0600 Subject: [PATCH] update build.yml --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bd84e3..7e75c2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,11 +51,13 @@ jobs: uses: actions/download-artifact@v2 with: name: build-wasm-output + path: output/mcla.wasm - name: Download tinygo wasm_exec from artifact uses: actions/download-artifact@v2 with: name: build-wasm-exec-js + path: output/wasm_exec.js - name: Create Release id: create_release @@ -78,6 +80,8 @@ jobs: publish-pages: runs-on: ubuntu-latest + needs: + - build-wasm steps: - name: Action Checkout @@ -89,15 +93,13 @@ jobs: uses: actions/download-artifact@v2 with: name: build-wasm-output + path: mcla.wasm - name: Download tinygo wasm_exec from artifact uses: actions/download-artifact@v2 with: name: build-wasm-exec-js - - - name: Move the outputs - run: | - cp ./output/* ./ + path: wasm_exec.js - name: Commit and push run: |