Update webassembly.yml

This commit is contained in:
Ray 2020-08-21 12:48:59 +02:00 committed by GitHub
parent 7bb92972d1
commit 890ea77246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@ jobs:
runs-on: windows-latest
env:
RELEASE_NAME: raylib-3.1_wasm
VERSION: ${{ github.event.release.tag_name }}
RELEASE_NAME: raylib-${{ github.event.release.tag_name }}_webassembly
steps:
- name: Checkout
@ -32,6 +33,13 @@ jobs:
mkdir include
mkdir lib
cd ../..
- name: Setup Release Version
run: |
echo "::set-env name=RELEASE_NAME::raylib-${{ github.event.release.tag_name }}_webassembly"
echo "::set-env name=VERSION_SHORT::${VERSION//.}"
shell: bash
if: github.event_name == 'release' && github.event.action == 'published'
- name: Build Library
run: |