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/*