Attempt to fix Github Action issues

This commit is contained in:
2026-03-25 13:54:14 +01:00
parent d06be3d1d6
commit ecc9406968
4 changed files with 12 additions and 36 deletions
+2 -6
View File
@@ -32,12 +32,8 @@ jobs:
run: | run: |
git lfs version git lfs version
git lfs pull git lfs pull
- name: Configure .NET version
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
old-string: "LatestMajor"
new-string: "LatestMinor"
file: Source/Tools/Flax.Build/Flax.Build.csproj
- name: Build - name: Build
run: | run: |
PowerShell "(Get-Content global.json).Replace('latestMajor', 'latestMinor') | Set-Content global.json"
PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'LatestMinor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj"
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=ARM64 -platform=Android -configuration=Release -buildtargets=FlaxGame .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=ARM64 -platform=Android -configuration=Release -buildtargets=FlaxGame
+4 -12
View File
@@ -29,14 +29,10 @@ jobs:
run: | run: |
git lfs version git lfs version
git lfs pull git lfs pull
- name: Configure .NET version
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
old-string: "LatestMajor"
new-string: "LatestMinor"
file: Source/Tools/Flax.Build/Flax.Build.csproj
- name: Build - name: Build
run: | run: |
PowerShell "(Get-Content global.json).Replace('latestMajor', 'latestMinor') | Set-Content global.json"
PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'LatestMinor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj"
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor
# Game # Game
@@ -60,12 +56,8 @@ jobs:
run: | run: |
git lfs version git lfs version
git lfs pull git lfs pull
- name: Configure .NET version
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
old-string: "LatestMajor"
new-string: "LatestMinor"
file: Source/Tools/Flax.Build/Flax.Build.csproj
- name: Build - name: Build
run: | run: |
PowerShell "(Get-Content global.json).Replace('latestMajor', 'latestMinor') | Set-Content global.json"
PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'LatestMinor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj"
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Release -buildtargets=FlaxGame .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Release -buildtargets=FlaxGame
+4 -12
View File
@@ -33,14 +33,10 @@ jobs:
run: | run: |
dotnet --info dotnet --info
dotnet workload --info dotnet workload --info
- name: Configure .NET version
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
old-string: "LatestMajor"
new-string: "LatestMinor"
file: Source/Tools/Flax.Build/Flax.Build.csproj
- name: Build - name: Build
run: | run: |
PowerShell "(Get-Content global.json).Replace('latestMajor', 'latestMinor') | Set-Content global.json"
PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'LatestMinor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj"
.\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8 .\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
@@ -72,14 +68,10 @@ jobs:
run: | run: |
dotnet --info dotnet --info
dotnet workload --info dotnet workload --info
- name: Configure .NET version
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
old-string: "LatestMajor"
new-string: "LatestMinor"
file: Source/Tools/Flax.Build/Flax.Build.csproj
- name: Build - name: Build
run: | run: |
PowerShell "(Get-Content global.json).Replace('latestMajor', 'latestMinor') | Set-Content global.json"
PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'LatestMinor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj"
.\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8 .\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8
- name: Upload - name: Upload
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
+2 -6
View File
@@ -69,14 +69,10 @@ jobs:
run: | run: |
git lfs version git lfs version
git lfs pull git lfs pull
- name: Configure .NET version
uses: MathieuSoysal/replace-string-in-file@v1.1.0
with:
old-string: "LatestMajor"
new-string: "LatestMinor"
file: Source/Tools/Flax.Build/Flax.Build.csproj
- name: Build - name: Build
run: | run: |
PowerShell "(Get-Content global.json).Replace('latestMajor', 'latestMinor') | Set-Content global.json"
PowerShell "(Get-Content Source/Tools/Flax.Build/Flax.Build.csproj).Replace('LatestMajor', 'LatestMinor') | Set-Content Source/Tools/Flax.Build/Flax.Build.csproj"
.\GenerateProjectFiles.bat -vs2022 -log -verbose -printSDKs -dotnet=8 .\GenerateProjectFiles.bat -vs2022 -log -verbose -printSDKs -dotnet=8
.\Development\Scripts\Windows\CallBuildTool.bat -build -log -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxTestsTarget .\Development\Scripts\Windows\CallBuildTool.bat -build -log -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxTestsTarget
dotnet msbuild Source\Tools\Flax.Build.Tests\Flax.Build.Tests.csproj /m /t:Restore,Build /p:Configuration=Debug /p:Platform=AnyCPU /nologo dotnet msbuild Source\Tools\Flax.Build.Tests\Flax.Build.Tests.csproj /m /t:Restore,Build /p:Configuration=Debug /p:Platform=AnyCPU /nologo