From aea5beccfd75cbfded3795ed711407664dc6b8df Mon Sep 17 00:00:00 2001 From: Olle Wreede Date: Sun, 3 Jul 2022 16:35:56 +0200 Subject: [PATCH] Add web demo to release --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2837c8..3988496 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,9 +60,9 @@ jobs: with: command: build args: --release --locked --all-targets --target=${{ matrix.config.target }} - #- name: Zip release archive - # if: matrix.config.target == 'wasm32-unknown-unknown' - # run: zip -j ${{ matrix.config.zip_file }} demo/*.js demo/*.html target/${{ matrix.config.target }}/release/${{ matrix.config.artifact_name }} + - name: Zip release archive + if: matrix.config.target == 'wasm32-unknown-unknown' + run: zip -j ${{ matrix.config.zip_file }} demo/manifest.json demo/*.js demo/*.html target/${{ matrix.config.target }}/release/${{ matrix.config.artifact_name }} - name: Zip release archive if: matrix.config.target == 'x86_64-unknown-linux-gnu' run: tar -zcf ${{ matrix.config.zip_file }} assets/ -C target/${{ matrix.config.target }}/release/ ${{ matrix.config.artifact_name }}