From 08f2d12a9815935905019841cc998b9a614480b1 Mon Sep 17 00:00:00 2001 From: vasukas <51795831+vasukas@users.noreply.github.com> Date: Fri, 4 Mar 2022 23:25:23 +0500 Subject: [PATCH 1/2] Fix wasm CI --- .github/workflows/release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d57daaa..0167fc4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -36,6 +36,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: From c72345ca7bfeb78a949a70e728e337ff72705dde Mon Sep 17 00:00:00 2001 From: Nicola Papale Date: Fri, 4 Mar 2022 19:37:20 +0100 Subject: [PATCH 2/2] Add lfs fetch to github release action --- .github/workflows/release.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0167fc4..001ceab 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 @@ -60,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 @@ -101,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 @@ -139,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