|
@@ -12,6 +12,7 @@ jobs:
|
|
|
|
|
|
|
|
env:
|
|
env:
|
|
|
VERSION: ${{ github.event.release.tag_name }}
|
|
VERSION: ${{ github.event.release.tag_name }}
|
|
|
|
|
+ VERSION_SHORT: ${VERSION//.}
|
|
|
RELEASE_NAME: raylib-dev_webassembly
|
|
RELEASE_NAME: raylib-dev_webassembly
|
|
|
|
|
|
|
|
steps:
|
|
steps:
|
|
@@ -23,6 +24,12 @@ jobs:
|
|
|
with:
|
|
with:
|
|
|
version: 2.0.0
|
|
version: 2.0.0
|
|
|
actions-cache-folder: 'emsdk-cache'
|
|
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
|
|
- name: Setup Environment
|
|
|
run: |
|
|
run: |
|
|
@@ -33,13 +40,6 @@ jobs:
|
|
|
mkdir include
|
|
mkdir include
|
|
|
mkdir lib
|
|
mkdir lib
|
|
|
cd ../..
|
|
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
|
|
- name: Build Library
|
|
|
run: |
|
|
run: |
|