fix(actions): update error handling in macOS build workflow with improved suggestion formatting
Some checks failed
Test macOS Build Action / test-macos-build (push) Failing after 14m11s
Some checks failed
Test macOS Build Action / test-macos-build (push) Failing after 14m11s
This commit is contained in:
parent
146dea5121
commit
51315a772d
@ -112,22 +112,19 @@ jobs:
|
||||
if grep -q "GlobalDefinitions.*This is not allowed" "$GITHUB_WORKSPACE"/*.log 2>/dev/null || grep -q "BuildEnvironment = TargetBuildEnvironment.Unique" "$GITHUB_WORKSPACE"/*.log 2>/dev/null; then
|
||||
echo "🔍 Found issue with GlobalDefinitions in build target."
|
||||
echo "⚠️ Fix required in LuckyWorld.Target.cs - need to add BuildEnvironment = TargetBuildEnvironment.Unique;"
|
||||
cat << 'EOF'
|
||||
|
||||
Fix suggestion for LuckyWorld.Target.cs:
|
||||
Add this line in the constructor:
|
||||
BuildEnvironment = TargetBuildEnvironment.Unique;
|
||||
|
||||
Example:
|
||||
public LuckyWorldTarget(TargetInfo Target) : base(Target)
|
||||
{
|
||||
Type = TargetType.Game;
|
||||
DefaultBuildSettings = BuildSettingsVersion.V5;
|
||||
BuildEnvironment = TargetBuildEnvironment.Unique; // Add this line
|
||||
|
||||
// Rest of your constructor...
|
||||
}
|
||||
EOF
|
||||
echo "Fix suggestion for LuckyWorld.Target.cs:"
|
||||
echo "Add this line in the constructor:"
|
||||
echo " BuildEnvironment = TargetBuildEnvironment.Unique;"
|
||||
echo ""
|
||||
echo "Example:"
|
||||
echo " public LuckyWorldTarget(TargetInfo Target) : base(Target)"
|
||||
echo " {"
|
||||
echo " Type = TargetType.Game;"
|
||||
echo " DefaultBuildSettings = BuildSettingsVersion.V5;"
|
||||
echo " BuildEnvironment = TargetBuildEnvironment.Unique; // Add this line"
|
||||
echo " "
|
||||
echo " // Rest of your constructor..."
|
||||
echo " }"
|
||||
fi
|
||||
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user