Skip to content

Commit

Permalink
another try
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga committed Dec 17, 2024
1 parent 01414c0 commit 1d02b04
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/linux_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,19 +140,18 @@ jobs:
python-version: 3.8
scons-version: 4.0

- name: Force remove preinstalled .NET SDKs
if: matrix.build-mono
run: |
sudo rm -rf /usr/share/dotnet/sdk/*
- name: Setup older .NET SDK as baseline
if: matrix.build-mono
uses: actions/setup-dotnet@v4
with:
# Targeting the oldest version we want to support to ensure it still builds.
dotnet-version: '8.0.111'

- name: Configure older .NET SDK version as the global version
if: matrix.build-mono
run: |
echo '{"sdk":{"version": "${{ steps.stepid.outputs.dotnet-version }}", "rollForward": "disable"}}' > global.json
cp global.json modules/mono/global.json
- name: Compilation
uses: ./.github/actions/godot-build
with:
Expand Down Expand Up @@ -208,8 +207,6 @@ jobs:
if: matrix.build-mono
run: |
dotnet test modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests
# Undo global.json changes so they don't clash with class ref checks.
git checkout modules/mono/global.json
# Check class reference
- name: Check for class reference updates
Expand Down

0 comments on commit 1d02b04

Please sign in to comment.