mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 02:26:02 +10:00
update to use local runner
This commit is contained in:
17
.github/workflows/build-windows.yml
vendored
17
.github/workflows/build-windows.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user