Skip to content

Commit d90c076

Browse files
authored
Update main.yml #GITBUILD test
1 parent c587ffb commit d90c076

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/main.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,15 @@ jobs:
112112
- name: Build Installer MSI
113113
if: env.build_trigger == 'true'
114114
shell: cmd
115-
run: call .\BuildInstaller.bat
115+
run: |
116+
echo === Running BuildInstaller.bat ===
117+
call .\BuildInstaller.bat || echo WARNING: BuildInstaller.bat exited with %ERRORLEVEL%, continuing...
118+
echo === Verifying MSI ===
119+
if not exist "UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi" (
120+
echo ERROR: MSI not found in UnityLauncherProInstaller\Release
121+
exit /b 1
122+
)
123+
echo Success: MSI found at UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi
116124
117125
# Get the current date and time
118126
- name: Get current date and time

0 commit comments

Comments
 (0)