|
|
@ -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: | |
|
|
|