diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 40ca76e..e8a4d75 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -22,7 +22,7 @@ jobs: - name: Cache cargo-msfs uses: actions/cache@v4 with: - path: $HOME/.cargo/bin + path: ~\.cargo\bin key: ${{ runner.os }}-cargo-msfs - name: Setup diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b23bd5..8d349ea 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,10 +11,24 @@ run-name: Create release for `${{ github.ref_name }}` jobs: release-wasm: - runs-on: ubuntu-latest + runs-on: windows-2022 steps: - uses: actions/checkout@v4 + - name: Install LLVM and Clang + uses: KyleMayes/install-llvm-action@v2.0.5 + with: + version: "17.0.6" + + - name: Cache cargo-msfs + uses: actions/cache@v4 + with: + path: ~\.cargo\bin + key: ${{ runner.os }}-cargo-msfs + + - name: Setup + run: npm run setup + - name: Build WASM module run: npm run build:wasm-workflow