mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-22 22:29:11 +00:00
Update webassembly.yml
This commit is contained in:
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: |
|
||||
|
||||
Reference in New Issue
Block a user