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