commit f37407bfc9497ad823cdad79510da2911a922914
parent 6dbde792717af91c328d4bb155b4ee0e672ce357
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 19 Apr 2026 18:37:48 +0000
ci: source emsdk before build
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
@@ -27,9 +27,7 @@ jobs:
uses: actions/checkout@v6
- name: Make scripts executable
- run: |
- ls -l scripts
- chmod +x scripts/raylib scripts/build
+ run: chmod +x scripts/raylib scripts/build
- name: Install emsdk
run: source scripts/emsdk
@@ -38,7 +36,9 @@ jobs:
run: ./scripts/raylib
- name: Build the game
- run: ./scripts/build
+ run: |
+ source scripts/emsdk
+ ./scripts/build
- name: Upload artifact
uses: actions/upload-pages-artifact@v5.0.0