From f3e23b6420819528c33e1432470a70df34f7b219 Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 25 Mar 2026 12:45:06 +0100 Subject: [PATCH] Attempt to fix Github Action issues --- .github/workflows/build_android.yml | 9 +++++---- .github/workflows/build_windows.yml | 17 +++++++++-------- .github/workflows/cd.yml | 17 +++++++++-------- .github/workflows/tests.yml | 9 +++++---- 4 files changed, 28 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index 0ef942ed0..a75dc91bd 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -4,6 +4,7 @@ on: [push, pull_request] env: DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: false + DOTNET_ROLL_FORWARD: 'LatestMinor' jobs: @@ -32,11 +33,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: richardrigutins/replace-in-files@v2 + uses: jacobtomlinson/gha-find-replace@3.0.5 with: - files: '*.csproj' - search-text: 'LatestMajor' - replacement-text: 'LatestMinor' + find: "LatestMajor" + replace: "LatestMinor" + include: "**/*.csproj" - name: Build run: | .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=ARM64 -platform=Android -configuration=Release -buildtargets=FlaxGame diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index aba96d3d6..3c378a3e3 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -4,6 +4,7 @@ on: [push, pull_request] env: DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: false + DOTNET_ROLL_FORWARD: 'LatestMinor' jobs: @@ -29,11 +30,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: richardrigutins/replace-in-files@v2 + uses: jacobtomlinson/gha-find-replace@3.0.5 with: - files: '*.csproj' - search-text: 'LatestMajor' - replacement-text: 'LatestMinor' + find: "LatestMajor" + replace: "LatestMinor" + include: "**/*.csproj" - name: Build run: | .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor @@ -60,11 +61,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: richardrigutins/replace-in-files@v2 + uses: jacobtomlinson/gha-find-replace@3.0.5 with: - files: '*.csproj' - search-text: 'LatestMajor' - replacement-text: 'LatestMinor' + find: "LatestMajor" + replace: "LatestMinor" + include: "**/*.csproj" - name: Build run: | .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Release -buildtargets=FlaxGame diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index d20b6b92c..fc57d7737 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,6 +7,7 @@ on: env: DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: false + DOTNET_ROLL_FORWARD: 'LatestMinor' GIT_LFS_PULL_OPTIONS: '-c lfs.concurrenttransfers=1 -c lfs.transfer.maxretries=2 -c http.version="HTTP/1.1" -c lfs.activitytimeout=60' jobs: @@ -33,11 +34,11 @@ jobs: dotnet --info dotnet workload --info - name: Configure .NET version - uses: richardrigutins/replace-in-files@v2 + uses: jacobtomlinson/gha-find-replace@3.0.5 with: - files: '*.csproj' - search-text: 'LatestMajor' - replacement-text: 'LatestMinor' + find: "LatestMajor" + replace: "LatestMinor" + include: "**/*.csproj" - name: Build run: | .\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8 @@ -72,11 +73,11 @@ jobs: dotnet --info dotnet workload --info - name: Configure .NET version - uses: richardrigutins/replace-in-files@v2 + uses: jacobtomlinson/gha-find-replace@3.0.5 with: - files: '*.csproj' - search-text: 'LatestMajor' - replacement-text: 'LatestMinor' + find: "LatestMajor" + replace: "LatestMinor" + include: "**/*.csproj" - name: Build run: | .\PackagePlatforms.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 00e2d2a56..d3deba83d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -4,6 +4,7 @@ on: [push, pull_request] env: DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: false + DOTNET_ROLL_FORWARD: 'LatestMinor' jobs: @@ -69,11 +70,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: richardrigutins/replace-in-files@v2 + uses: jacobtomlinson/gha-find-replace@3.0.5 with: - files: '*.csproj' - search-text: 'LatestMajor' - replacement-text: 'LatestMinor' + find: "LatestMajor" + replace: "LatestMinor" + include: "**/*.csproj" - name: Build run: | .\GenerateProjectFiles.bat -vs2022 -log -verbose -printSDKs -dotnet=8