Skip to content

Commit bc6ed38

Browse files
Updated template checkout for Development (MonoGame#9075)
# Summary Updating the tempalte checkout for the recent changes: - Update templates to default to dotnet 9 - Updating Android TargetFramework - Google 16kbfix - Updating iOS min version - Updating the Content Builder Project template to latest - Updated automation to handle the DotNet 9 templates from the `3.8.4.1` release.
1 parent cc1c814 commit bc6ed38

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [windows-latest, macos-15, ubuntu-24.04]
18+
os: [windows-latest, macos-26, ubuntu-24.04]
1919
fail-fast: false
2020
steps:
2121
- name: Clone repository
@@ -28,7 +28,7 @@ jobs:
2828
echo '{ "sdk": { "version": "${{ env.DotnetVersion }}" } }' > global.json
2929
3030
- name: Setup .NET Core SDK
31-
uses: actions/setup-dotnet@v4
31+
uses: actions/setup-dotnet@v5
3232
with:
3333
dotnet-version: '${{ env.DotnetVersion }}'
3434

@@ -123,9 +123,24 @@ jobs:
123123
CI: true
124124
shell: bash
125125

126+
- name: Generate global.json
127+
run: |
128+
echo '{ "sdk": { "version": "9.0.x" } }' > global.json
129+
130+
- name: Setup .NET Core SDK
131+
uses: actions/setup-dotnet@v5
132+
with:
133+
dotnet-version: |
134+
9.0.x
135+
136+
- name: Setup DotNet on MacOS for DotNet 9
137+
if: runner.environment == 'github-hosted' && runner.os == 'macos'
138+
run: |
139+
dotnet workload install android macos ios
140+
126141
- name: Test generated Nuget packages
127142
if: runner.os != 'Linux'
128-
run: dotnet run --project build/Build.csproj -- --target=TestNuGet
143+
run: dotnet run --project build/Build.csproj -- --target=TestNuGet --framework net9.0
129144
env:
130145
ACTIONS_RUNTIME_TOKEN: ${{ env.ACTIONS_RUNTIME_TOKEN }}
131146
ACTIONS_RUNTIME_URL: "${{ env.ACTIONS_RUNTIME_URL }}"

external/MonoGame.Templates

Submodule MonoGame.Templates updated 27 files

0 commit comments

Comments
 (0)