From c716ed1c4df9e906487a0c22b309928050075712 Mon Sep 17 00:00:00 2001 From: _Tradam Date: Wed, 18 May 2022 02:24:18 -0400 Subject: Update raylib-to-itch.yml --- .github/workflows/raylib-to-itch.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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.* -- cgit v1.2.3