File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 2323 shell : powershell
2424 run : |
2525 # Get the commit message
26- $strVal = '${{ github.event.commits[0] .message }}'
26+ $strVal ='${{ github.event. head_commit .message }}'
2727 # Convert commit message to a single line if multiline
2828 $singleLineStrVal = $strVal -replace "`r`n", " " -replace "`n", " "
2929 if ($singleLineStrVal -match '#GITBUILD') {
@@ -167,8 +167,11 @@ jobs:
167167 if : env.build_trigger == 'true'
168168 shell : cmd
169169 run : |
170+ setlocal EnableDelayedExpansion
170171 echo === Running BuildInstaller.bat ===
171172 call .\BuildInstaller.bat || echo WARNING: BuildInstaller.bat exited with %ERRORLEVEL%, continuing...
173+ set "ec=!ERRORLEVEL!"
174+ if not "!ec!"=="0" echo WARNING: BuildInstaller.bat exited with !ec!, continuing...
172175 echo === Verifying MSI ===
173176 if exist "UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi" (
174177 echo Success: MSI found at UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi
You can’t perform that action at this time.
0 commit comments