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
|
name: Build Windows
|
||||||
|
|
||||||
runs-on: self-hosted
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -16,24 +15,18 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
export-windows:
|
export-windows:
|
||||||
name: Windows Export
|
name: Windows Export
|
||||||
runs-on: ubuntu-20.04
|
runs-on: self-hosted
|
||||||
container:
|
|
||||||
image: barichello/godot-ci:4.4.1
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
lfs: true
|
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
|
- name: Windows Build
|
||||||
run: |
|
run: |
|
||||||
mkdir -v -p build/windows
|
mkdir -p build/windows
|
||||||
godot --headless --verbose --export-release "Windows Desktop" build/windows/$EXPORT_NAME.exe
|
Godot_v4.4.1-stable_win64.exe --headless --verbose --export-release "Windows Desktop" build/windows/$EXPORT_NAME.exe
|
||||||
|
shell: bash
|
||||||
|
|
||||||
- name: Upload Windows Build
|
- name: Upload Windows Build
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -45,7 +38,7 @@ jobs:
|
|||||||
release:
|
release:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
needs: export-windows
|
needs: export-windows
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||||
steps:
|
steps:
|
||||||
- name: Download Windows Build
|
- name: Download Windows Build
|
||||||
|
|||||||
Reference in New Issue
Block a user