[skip actions] Added uploads of WASM/JS port

This commit is contained in:
Kevin López Brante 2022-09-03 16:05:19 -04:00
parent d2cecba34d
commit 1e076b3dcd
2 changed files with 14 additions and 1 deletions

View File

@ -2,7 +2,7 @@
name: WebAssembly build
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
@ -117,3 +117,15 @@ jobs:
${{runner.workspace}}/embuild/cli/vgmstream-cli.js
${{runner.workspace}}/embuild/cli/vgmstream-cli.wasm
name: vgmstream-wasm
- name: Upload artifacts to S3
if: github.event_name != 'pull_request'
working-directory: ${{runner.workspace}}/build
shell: bash
env:
AWS_DEFAULT_REGION: us-west-1
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
run: |
aws s3 cp ${{runner.workspace}}/embuild/cli/vgmstream-cli.js s3://vgmstream-builds/js/vgmstream-cli.js --acl public-read
aws s3 cp ${{runner.workspace}}/embuild/cli/vgmstream-cli.wasm s3://vgmstream-builds/js/vgmstream-cli.wasm --acl public-read

View File

@ -8,6 +8,7 @@
self
Download<https://dl.vgmstream.org>
Web version<https://katiefrogs.github.io/vgmstream-web/>
USAGE
FORMATS
BUILD