From cdd119bb2efdccd9b42a49ddd3a8765657cfcecd Mon Sep 17 00:00:00 2001 From: Aaditya Murthy Date: Tue, 10 Oct 2023 10:40:09 -0500 Subject: [PATCH] fix --- .github/workflows/pre-release.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 51efe63..10bbb5d 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -13,14 +13,16 @@ jobs: steps: # ... - - name: Fetch asset - run: gh release download --repo aadi123/Crustacean latest - env: - GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_TOKEN }} - - - name: Build and Test + - name: "Build & test" run: | curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh wasm-pack build --target web - env: - GITHUB_TOKEN: ${{ secrets.PRIVATE_REPO_TOKEN } + + - uses: "aadi123/Crustacean@0.2" + with: + repo_token: "${{ secrets.GITHUB_TOKEN }}" + automatic_release_tag: "latest" + prerelease: true + title: "Development Build" + files: | + pkg/*