From 8ec9c4c4f26cb62fe896cd576d4bd743384f4659 Mon Sep 17 00:00:00 2001 From: Oier Bravo Urtasun Date: Sun, 27 Oct 2024 08:02:04 +0100 Subject: [PATCH] more workflow --- .gitea/workflows/release.yml | 38 +++++++++++++++++++++++++++++++++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 37666aa2..c77ad901 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -10,7 +10,7 @@ env: jobs: export-linux: name: Linux Export - runs-on: ubuntu-latest-full + runs-on: act-latest container: image: barichello/godot-ci:3.6 steps: @@ -20,13 +20,45 @@ jobs: lfs: true - name: Setup run: | + echo $PATH mkdir -v -p ~/.local/share/godot/templates - name: Linux Build run: | mkdir -v -p build/linux - godot -v --export --no-window "Linux/X11" build/linux/Gymkhana.x86_64 + git clone https://github.com/godot-escoria/escoria-demo-game.git + cd addons + ln -sf ../escoria-demo-game/addons/escoria-core escoria-core + cd .. + godot -v --export "Linux/X11" build/linux/Gymkhana.x86_64 --no-window - name: Upload Artifact uses: actions/upload-artifact@v1 with: name: linux - path: build/linux \ No newline at end of file + path: build/linux + export-web: + name: Web Export + runs-on: act-latest + container: + image: barichello/godot-ci:3.6 + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + lfs: true + - name: Setup + run: | + echo $PATH + mkdir -v -p ~/.local/share/godot/templates + - name: HTML5 Build + run: | + mkdir -v -p build/web + git clone https://github.com/godot-escoria/escoria-demo-game.git + cd addons + ln -sf ../escoria-demo-game/addons/escoria-core escoria-core + cd .. + godot -v --export "HTML5" build/web/index.html --no-window + - name: Upload Artifact + uses: actions/upload-artifact@v1 + with: + name: web + path: build/web \ No newline at end of file