summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
author_Tradam <[email protected]>2022-05-18 02:24:18 -0400
committerGitHub <[email protected]>2022-05-18 02:24:18 -0400
commitc716ed1c4df9e906487a0c22b309928050075712 (patch)
tree53e459efab30efa79d617485c85d8fc136da0d03
parent4aeb59c78c81f3d523186338431ab239929fc294 (diff)
downloadraylib-template-c716ed1c4df9e906487a0c22b309928050075712.tar.gz
raylib-template-c716ed1c4df9e906487a0c22b309928050075712.zip
Update raylib-to-itch.yml
-rw-r--r--.github/workflows/raylib-to-itch.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/raylib-to-itch.yml b/.github/workflows/raylib-to-itch.yml
index 5ef9b5f..23f7370 100644
--- a/.github/workflows/raylib-to-itch.yml
+++ b/.github/workflows/raylib-to-itch.yml
@@ -18,15 +18,16 @@ jobs:
run: |
sudo apt install curl git zip
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.10.0
- . $HOME/.asdf/asdf.sh
# install emcc
- name: install-emscripten
run: |
+ . $HOME/.asdf/asdf.sh
asdf install emsdk
asdf plugin add emsdk
# compile raylib
- name: compile-raylib
run: |
+ . $HOME/.asdf/asdf.sh
mkdir lib && mkdir lib/web
cd dependencies/raylib/src
make PLATFORM=PLATFORM_WEB -B -e
@@ -34,6 +35,7 @@ jobs:
# make
- name: build
run: |
+ . $HOME/.asdf/asdf.sh
make web
cd output
zip game.zip index.*