Attempt to fix Github Action issues

This commit is contained in:
Wojtek Figat
2026-03-25 09:49:38 +01:00
parent 22ad2d1fab
commit 64005c2774
5 changed files with 43 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.419
dotnet-version: 8.0.x
- name: Setup .NET Workload
run: |
dotnet workload install android
@@ -31,6 +31,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'Source\Tools\Flax.Build\Flax.Build.csproj'
search-text: 'LatestMajor'
replacement-text: 'LatestMinor'
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=ARM64 -platform=Android -configuration=Release -buildtargets=FlaxGame

View File

@@ -19,7 +19,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.419
dotnet-version: 8.0.x
- name: Print .NET info
run: |
dotnet --info
@@ -28,6 +28,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'Source\Tools\Flax.Build\Flax.Build.csproj'
search-text: 'LatestMajor'
replacement-text: 'LatestMinor'
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor
@@ -44,7 +50,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.419
dotnet-version: 8.0.x
- name: Print .NET info
run: |
dotnet --info
@@ -53,6 +59,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'Source\Tools\Flax.Build\Flax.Build.csproj'
search-text: 'LatestMajor'
replacement-text: 'LatestMinor'
- name: Build
run: |
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Release -buildtargets=FlaxGame

View File

@@ -27,11 +27,17 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.419
dotnet-version: 8.0.x
- name: Print .NET info
run: |
dotnet --info
dotnet workload --info
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'Source\Tools\Flax.Build\Flax.Build.csproj'
search-text: 'LatestMajor'
replacement-text: 'LatestMinor'
- name: Build
run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
@@ -60,11 +66,17 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.419
dotnet-version: 8.0.x
- name: Print .NET info
run: |
dotnet --info
dotnet workload --info
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'Source\Tools\Flax.Build\Flax.Build.csproj'
search-text: 'LatestMajor'
replacement-text: 'LatestMinor'
- name: Build
run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8

View File

@@ -59,7 +59,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.419
dotnet-version: 8.0.x
- name: Print .NET info
run: |
dotnet --info
@@ -68,6 +68,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'Source\Tools\Flax.Build\Flax.Build.csproj'
search-text: 'LatestMajor'
replacement-text: 'LatestMinor'
- name: Build
run: |
.\GenerateProjectFiles.bat -vs2022 -log -verbose -printSDKs -dotnet=8

View File

@@ -1,6 +1,6 @@
{
"sdk": {
"version": "8.0.419",
"version": "8.0.100",
"rollForward": "latestMajor"
}
}