Browse Source

Update webassembly.yml

pull/1359/head
Ray 4 years ago
committed by GitHub
parent
commit
890ea77246
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      .github/workflows/webassembly.yml

+ 9
- 1
.github/workflows/webassembly.yml 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: |

Loading…
Cancel
Save