diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52e90868..37cb0243 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,19 @@ jobs: build: name: Build runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + label: + - Stable + - Unstable + include: + - label: Stable + postfix: _stable + features: "" + - label: Unstable + postfix: _unstable + features: "unstable" steps: - name: Checkout Commit uses: actions/checkout@v3 @@ -27,14 +40,18 @@ jobs: - name: Build run: | - cargo release --locked + cargo release --locked --features ${{ matrix.features }} + + - name: Prepare Release + run: | + cp target/wasm32-wasi/release/hollowknight_autosplit_wasm.wasm hollowknight_autosplit_wasm${{ matrix.postfix }}.wasm - name: Release if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v1 with: generate_release_notes: true - files: target/wasm32-wasi/release/hollowknight_autosplit_wasm.wasm + files: hollowknight_autosplit_wasm*.wasm clippy: name: Check clippy lints