Skip to content

Commit

Permalink
Merge pull request #19 from team-plover/fix-wasm-ci
Browse files Browse the repository at this point in the history
Fix wasm CI
  • Loading branch information
nicopap authored Mar 4, 2022
2 parents dd9dfa2 + c72345c commit e95fcd1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
- uses: little-core-labs/get-git-tag@v3.0.1
id: get_version
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand All @@ -36,6 +38,7 @@ jobs:
run: |
wasm-bindgen --no-typescript --out-name bevy_game --out-dir wasm --target web target/wasm32-unknown-unknown/release/${{ env.binary }}.wasm
cp -r assets wasm/
cp scripts/wasm_build.html wasm/index.html
- name: Package as a zip
uses: vimtor/action-zip@v1
with:
Expand All @@ -59,6 +62,8 @@ jobs:
- uses: little-core-labs/get-git-tag@v3.0.1
id: get_version
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down Expand Up @@ -100,6 +105,8 @@ jobs:
- uses: little-core-labs/get-git-tag@v3.0.1
id: get_version
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down Expand Up @@ -138,6 +145,8 @@ jobs:
- uses: little-core-labs/get-git-tag@v3.0.1
id: get_version
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
Expand Down

0 comments on commit e95fcd1

Please sign in to comment.