Skip to content

Commit 09552c2

Browse files
committed
Proper letter case for configuration names when generating projects
1 parent d6815c1 commit 09552c2

File tree

3 files changed

+68
-67
lines changed

3 files changed

+68
-67
lines changed

.github/workflows/Build_Plugin_GTA_SA.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo ::groupEnd::
6666
6767
echo ::group::Build test plugin
68-
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTASA /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
68+
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTA-SA /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
6969
powershell -Command "(gc output.log) | sort | get-unique > output.log"
7070
powershell -Command "(gc output.log) -replace ' \d>','' -replace '.:\\a\\plugin-sdk\\plugin-sdk\\','' | Out-File -encoding ASCII output.log"
7171
powershell -Command "foreach($line in Get-Content 'output.log') { $m = $line -match '^(.*)\((\d+),(\d+)\): (\w+) (.*) \[.*\]$'; if ($m) {$m = $Matches; echo ('::'+$m[4]+' file='+$m[1]+',line='+$m[2]+',title=Test plugin compilation::'+$m[5])} else {echo ('::error title=Test plugin compilation::' + $line)} }"

.github/workflows/Build_Plugin_GTA_VC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
echo ::groupEnd::
6666
6767
echo ::group::Build test plugin
68-
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTAVC /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
68+
msbuild examples\Test\Test.sln /property:Configuration=Debug /property:Platform=GTA-VC /m /fileLogger1 /fileLoggerParameters1:warningsOnly;errorsOnly;logfile=output.log
6969
powershell -Command "(gc output.log) | sort | get-unique > output.log"
7070
powershell -Command "(gc output.log) -replace ' \d>','' -replace '.:\\a\\plugin-sdk\\plugin-sdk\\','' | Out-File -encoding ASCII output.log"
7171
powershell -Command "foreach($line in Get-Content 'output.log') { $m = $line -match '^(.*)\((\d+),(\d+)\): (\w+) (.*) \[.*\]$'; if ($m) {$m = $Matches; echo ('::'+$m[4]+' file='+$m[1]+',line='+$m[2]+',title=Test plugin compilation::'+$m[5])} else {echo ('::error title=Test plugin compilation::' + $line)} }"

0 commit comments

Comments
 (0)