feat(stage-tamagotchi-godot): migrate C# projects to .NET 10 (#2169)

This commit is contained in:
Garfield Lee
2026-08-02 18:43:24 +08:00
committed by GitHub
parent 9aa27af108
commit cfd9c26f09
34 changed files with 428 additions and 80 deletions
+8 -8
View File
@@ -143,12 +143,12 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
dotnet-version: '10.0.x'
- name: Setup Godot
uses: chickensoft-games/setup-godot@v2
with:
version: '4.6.2'
version: '4.7.1'
use-dotnet: true
include-templates: true
@@ -157,24 +157,24 @@ jobs:
working-directory: ./engines/stage-tamagotchi-godot
shell: bash
run: |
mkdir -p build/win
godot --headless --export-release "Windows Desktop" build/win/godot-stage.exe
mkdir -p out/win
godot --headless --export-release "Windows Desktop" out/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
mkdir -p out/mac
godot --headless --export-release "macOS" out/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
mkdir -p out/linux
godot --headless --export-release "Linux ${{ matrix.arch }}" out/linux/godot-stage
- name: Build (Windows Only) # Windows
if: matrix.os == 'windows-latest'