From aeecadffb073380a4530767e054c2cb507f13dfc Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Wed, 25 Mar 2026 13:32:21 +0100 Subject: [PATCH] Attempt to fix Github Action issues --- .github/workflows/build_android.yml | 8 ++++---- .github/workflows/build_windows.yml | 16 ++++++++-------- .github/workflows/cd.yml | 16 ++++++++-------- .github/workflows/tests.yml | 8 ++++---- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build_android.yml b/.github/workflows/build_android.yml index a75dc91bd..a0b78225b 100644 --- a/.github/workflows/build_android.yml +++ b/.github/workflows/build_android.yml @@ -33,11 +33,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: jacobtomlinson/gha-find-replace@3.0.5 + uses: MathieuSoysal/replace-string-in-file@v1.1.0 with: - find: "LatestMajor" - replace: "LatestMinor" - include: "**/*.csproj" + old-string: "LatestMajor" + new-string: "LatestMinor" + file: Source/Tools/Flax.Build/Flax.Build.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 3c378a3e3..f66c7d2ec 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -30,11 +30,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: jacobtomlinson/gha-find-replace@3.0.5 + uses: MathieuSoysal/replace-string-in-file@v1.1.0 with: - find: "LatestMajor" - replace: "LatestMinor" - include: "**/*.csproj" + old-string: "LatestMajor" + new-string: "LatestMinor" + file: Source/Tools/Flax.Build/Flax.Build.csproj - name: Build run: | .\Development\Scripts\Windows\CallBuildTool.bat -build -log -printSDKs -dotnet=8 -arch=x64 -platform=Windows -configuration=Development -buildtargets=FlaxEditor @@ -61,11 +61,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: jacobtomlinson/gha-find-replace@3.0.5 + uses: MathieuSoysal/replace-string-in-file@v1.1.0 with: - find: "LatestMajor" - replace: "LatestMinor" - include: "**/*.csproj" + old-string: "LatestMajor" + new-string: "LatestMinor" + file: Source/Tools/Flax.Build/Flax.Build.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 fc57d7737..dd1d73c5f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -34,11 +34,11 @@ jobs: dotnet --info dotnet workload --info - name: Configure .NET version - uses: jacobtomlinson/gha-find-replace@3.0.5 + uses: MathieuSoysal/replace-string-in-file@v1.1.0 with: - find: "LatestMajor" - replace: "LatestMinor" - include: "**/*.csproj" + old-string: "LatestMajor" + new-string: "LatestMinor" + file: Source/Tools/Flax.Build/Flax.Build.csproj - name: Build run: | .\PackageEditor.bat -arch=x64 -platform=Windows -deployOutput=Output -dotnet=8 @@ -73,11 +73,11 @@ jobs: dotnet --info dotnet workload --info - name: Configure .NET version - uses: jacobtomlinson/gha-find-replace@3.0.5 + uses: MathieuSoysal/replace-string-in-file@v1.1.0 with: - find: "LatestMajor" - replace: "LatestMinor" - include: "**/*.csproj" + old-string: "LatestMajor" + new-string: "LatestMinor" + file: Source/Tools/Flax.Build/Flax.Build.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 d3deba83d..62e306b4f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -70,11 +70,11 @@ jobs: git lfs version git lfs pull - name: Configure .NET version - uses: jacobtomlinson/gha-find-replace@3.0.5 + uses: MathieuSoysal/replace-string-in-file@v1.1.0 with: - find: "LatestMajor" - replace: "LatestMinor" - include: "**/*.csproj" + old-string: "LatestMajor" + new-string: "LatestMinor" + file: Source/Tools/Flax.Build/Flax.Build.csproj - name: Build run: | .\GenerateProjectFiles.bat -vs2022 -log -verbose -printSDKs -dotnet=8