Skip to content

Commit

Permalink
godotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Apr 25, 2024
1 parent 7130cf8 commit 26e40c8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/godot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- godot3

env:
gdver: "4.2.1-stable"
gdver: "4.2.2"

jobs:
export_game:
Expand All @@ -26,17 +26,14 @@ jobs:

- name: Download Godot
run: |
cd $HOME
wget https://github.com/godotengine/godot/releases/download/${{ env.gdver }}/Godot_v${{ env.gdver }}_mono_linux_x86_64.zip
unzip Godot_v${{ env.gdver }}_mono_linux_x86_64.zip
dotnet tool install --global Chickensoft.GodotEnv
godotenv godot install ${{ env.gdver }}
- name: Import resources and build
run: |
export gdbin=$HOME/Godot_v${{ env.gdver }}_mono_linux_x86_64/Godot_v${{ env.gdver }}_mono_linux.x86_64
$gdbin --headless --build-solutions --quit
$GODOT --headless --build-solutions --quit
# TODO: run tests with the exported binary
- name: Test
run: |
export gdbin=$HOME/Godot_v${{ env.gdver }}_mono_linux_x86_64/Godot_v${{ env.gdver }}_mono_linux.x86_64
$gdbin --headless --quit
$GODOT --headless --quit

0 comments on commit 26e40c8

Please sign in to comment.