Skip to content

Commit

Permalink
github workflows build: unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed Jun 14, 2024
1 parent fd82dad commit 9d49d1e
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9d49d1e

Please sign in to comment.