Update webassembly.yml
This commit is contained in:
parent
2d8e8a3b84
commit
336c6b7055
1 changed files with 7 additions and 7 deletions
14
.github/workflows/webassembly.yml
vendored
14
.github/workflows/webassembly.yml
vendored
|
@ -12,6 +12,7 @@ jobs:
|
|||
|
||||
env:
|
||||
VERSION: ${{ github.event.release.tag_name }}
|
||||
VERSION_SHORT: ${VERSION//.}
|
||||
RELEASE_NAME: raylib-dev_webassembly
|
||||
|
||||
steps:
|
||||
|
@ -23,6 +24,12 @@ jobs:
|
|||
with:
|
||||
version: 2.0.0
|
||||
actions-cache-folder: 'emsdk-cache'
|
||||
|
||||
- name: Setup Release Version
|
||||
run: |
|
||||
echo "::set-env name=RELEASE_NAME::raylib-${{ github.event.release.tag_name }}_webassembly"
|
||||
shell: bash
|
||||
if: github.event_name == 'release' && github.event.action == 'published'
|
||||
|
||||
- name: Setup Environment
|
||||
run: |
|
||||
|
@ -33,13 +40,6 @@ 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…
Add table
Add a link
Reference in a new issue