Skip to content

Commit

Permalink
Add web demo to release
Browse files Browse the repository at this point in the history
  • Loading branch information
ollej committed Jul 3, 2022
1 parent 05018a3 commit aea5bec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit aea5bec

Please # to comment.