Attempt to fix Github Action issues
This commit is contained in:
6
.github/workflows/build_android.yml
vendored
6
.github/workflows/build_android.yml
vendored
@@ -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
|
||||
|
||||
12
.github/workflows/build_windows.yml
vendored
12
.github/workflows/build_windows.yml
vendored
@@ -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
|
||||
|
||||
12
.github/workflows/cd.yml
vendored
12
.github/workflows/cd.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/tests.yml
vendored
6
.github/workflows/tests.yml
vendored
@@ -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
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"sdk": {
|
||||
"version": "8.0.0",
|
||||
"version": "8.0.100",
|
||||
"rollForward": "latestMajor"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user