summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorRay <[email protected]>2020-08-21 13:03:15 +0200
committerGitHub <[email protected]>2020-08-21 13:03:15 +0200
commit336c6b7055c012da7590ba754bd93f27f6546bbc (patch)
tree6e98a5aa65f1b3a1c78a6ccfad99712a91756533 /.github
parent2d8e8a3b84d0f653d4d80ddd6cdb136a3e6850c9 (diff)
downloadraylib-336c6b7055c012da7590ba754bd93f27f6546bbc.tar.gz
raylib-336c6b7055c012da7590ba754bd93f27f6546bbc.zip
Update webassembly.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/webassembly.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/webassembly.yml b/.github/workflows/webassembly.yml
index e8ede802..92103c66 100644
--- a/.github/workflows/webassembly.yml
+++ b/.github/workflows/webassembly.yml
@@ -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: |