Create godot_build.yml #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Godot Project for Windows | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Godot Engine | |
run: | | |
wget https://downloads.tuxfamily.org/godotengine/4.3/Godot_v4.3-stable_linux.x86_64.zip | |
unzip Godot_v4.3-stable_linux.x86_64.zip | |
sudo mv Godot_v4.3-stable_linux.x86_64 /usr/local/bin/godot | |
- name: Build Godot project | |
run: | | |
godot --export-release "Windows Desktop" build/game.exe | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-build | |
path: build/game.exe |