update to use local runner

This commit is contained in:
2025-07-19 18:59:19 +10:00
parent fc212f78e4
commit e73d5a6996

View File

@@ -1,6 +1,5 @@
name: Build Windows
runs-on: self-hosted
on:
push:
@@ -16,24 +15,18 @@ env:
jobs:
export-windows:
name: Windows Export
runs-on: ubuntu-20.04
container:
image: barichello/godot-ci:4.4.1
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Windows Build
run: |
mkdir -v -p build/windows
godot --headless --verbose --export-release "Windows Desktop" build/windows/$EXPORT_NAME.exe
mkdir -p build/windows
Godot_v4.4.1-stable_win64.exe --headless --verbose --export-release "Windows Desktop" build/windows/$EXPORT_NAME.exe
shell: bash
- name: Upload Windows Build
uses: actions/upload-artifact@v4
@@ -45,7 +38,7 @@ jobs:
release:
name: Create Release
needs: export-windows
runs-on: ubuntu-latest
runs-on: self-hosted
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- name: Download Windows Build