mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-14 00:48:06 +00:00
chore(ci): add stage-tamagotchi-godot in publish (#1841)
This commit is contained in:
@@ -107,7 +107,7 @@ jobs:
|
||||
working-directory: ./engines/stage-tamagotchi-godot
|
||||
run: |
|
||||
mkdir -p build/linux
|
||||
godot --headless --export-release "Linux" build/linux/godot-stage
|
||||
godot --headless --export-release "Linux x64" build/linux/godot-stage
|
||||
|
||||
typecheck:
|
||||
name: Type Check
|
||||
|
||||
@@ -122,6 +122,12 @@ jobs:
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
- name: Install macOS System Dependencies for node-canvas
|
||||
if: runner.os == 'macOS'
|
||||
run: |
|
||||
brew install pkg-config cairo pango jpeg giflib librsvg
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: lts/*
|
||||
@@ -134,6 +140,42 @@ jobs:
|
||||
|
||||
- run: pnpm run build:packages
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: '8.0.x'
|
||||
|
||||
- name: Setup Godot
|
||||
uses: chickensoft-games/setup-godot@v2
|
||||
with:
|
||||
version: '4.6.2'
|
||||
use-dotnet: true
|
||||
include-templates: true
|
||||
|
||||
- name: Export Godot Stage (Windows)
|
||||
if: matrix.os == 'windows-latest'
|
||||
working-directory: ./engines/stage-tamagotchi-godot
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p build/win
|
||||
godot --headless --export-release "Windows Desktop" build/win/godot-stage.exe
|
||||
|
||||
- name: Export Godot Stage (macOS)
|
||||
if: matrix.os == 'macos-15-intel' || matrix.os == 'macos-26'
|
||||
working-directory: ./engines/stage-tamagotchi-godot
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p build/mac
|
||||
godot --headless --export-release "macOS" build/mac/godot-stage.app
|
||||
|
||||
- name: Export Godot Stage (Linux)
|
||||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'ubuntu-24.04-arm'
|
||||
working-directory: ./engines/stage-tamagotchi-godot
|
||||
shell: bash
|
||||
run: |
|
||||
mkdir -p build/linux
|
||||
godot --headless --export-release "Linux ${{ matrix.arch }}" build/linux/godot-stage
|
||||
|
||||
- name: Build (Windows Only) # Windows
|
||||
if: matrix.os == 'windows-latest'
|
||||
run: pnpm run -F @proj-airi/stage-tamagotchi build && pnpm -F @proj-airi/stage-tamagotchi exec electron-builder build ${{ matrix.builder-args }} --publish=${{ (inputs.build_only || inputs.artifacts_only) && 'never' || 'onTagOrDraft' }}
|
||||
|
||||
Reference in New Issue
Block a user