Attempt to fix Github Action issues

This commit is contained in:
Wojtek Figat
2026-03-25 09:11:26 +01:00
parent 3a3b997e97
commit 9d478b570f
6 changed files with 38 additions and 2 deletions

View File

@@ -31,6 +31,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'global.json'
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

@@ -28,6 +28,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'global.json'
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
@@ -53,6 +59,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'global.json'
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

@@ -32,6 +32,12 @@ jobs:
run: |
dotnet --info
dotnet workload --info
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'global.json'
search-text: 'latestMajor'
replacement-text: 'latestMinor'
- name: Build
run: |
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
@@ -65,6 +71,12 @@ jobs:
run: |
dotnet --info
dotnet workload --info
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'global.json'
search-text: 'latestMajor'
replacement-text: 'latestMinor'
- name: Build
run: |
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8

View File

@@ -68,6 +68,12 @@ jobs:
run: |
git lfs version
git lfs pull
- name: Configure .NET version
uses: richardrigutins/replace-in-files@v2
with:
files: 'global.json'
search-text: 'latestMajor'
replacement-text: 'latestMinor'
- name: Build
run: |
.\GenerateProjectFiles.bat -vs2022 -log -verbose -printSDKs -dotnet=8

View File

@@ -201,7 +201,7 @@ namespace Flax.Deploy
Log.Info("Building disk image...");
if (File.Exists(dmgPath))
File.Delete(dmgPath);
Utilities.Run("hdiutil", $"create -srcFolder \"{appPath}\" -o \"{dmgPath}\"", null, null, Utilities.RunOptions.Default | Utilities.RunOptions.ThrowExceptionOnError);
Utilities.Run("hdiutil", $"create -srcFolder \"{appPath}\" -o \"{dmgPath}\" -force", null, null, Utilities.RunOptions.Default | Utilities.RunOptions.ThrowExceptionOnError);
CodeSign(dmgPath);
Log.Info("Output disk image size: " + Utilities.GetFileSize(dmgPath));

View File

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