Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
alnikyur committed Jan 6, 2025
1 parent ff7ddde commit 675e95b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Build project
run: |
bash .github/workflows/scripts/prebuild.sh
sudo bash .github/workflows/scripts/prebuild.sh
/usr/local/bin/godot --headless --path . --export-release "Windows Desktop" game.exe
zip astrolaser_x64_windows.zip game.exe game.pck
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/scripts/prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ sudo apt update \
&& apt install -y libfontconfig unzip \
&& unzip ${GODOT_VERSION}

mv ${GODOT_VERSION} /usr/local/bin/godot && godot --version
mv ${GODOT_VERSION} /usr/local/bin/godot
chmod +x /usr/local/bin/godot && godot --version

# Install godot templates
wget https://github.com/godotengine/godot-builds/releases/download/4.2-stable/Godot_v4.2-stable_export_templates.tpz
unzip Godot_v4.2-stable_export_templates.tpz
mkdir -p ~/.local/share/godot/export_templates/4.2.stable/
cp -r templates/* ~/.local/share/godot/export_templates/4.2.stable/
cp -rv templates/* ~/.local/share/godot/export_templates/4.2.stable/

0 comments on commit 675e95b

Please sign in to comment.