Skip to content

Commit

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

- name: Build project
run: |
sudo -s
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
8 changes: 4 additions & 4 deletions .github/workflows/scripts/prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ sudo apt update \
&& apt install -y libfontconfig unzip \
&& unzip ${GODOT_VERSION}

mv ${GODOT_VERSION} /usr/local/bin/godot
chmod +x /usr/local/bin/godot && godot --version
sudo mv ${GODOT_VERSION} /usr/local/bin/godot
sudo 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 -rv templates/* ~/.local/share/godot/export_templates/4.2.stable/
sudo mkdir -p ~/.local/share/godot/export_templates/4.2.stable/
sudo cp -rv templates/* ~/.local/share/godot/export_templates/4.2.stable/

0 comments on commit cf16a3d

Please sign in to comment.