Skip to content

Commit b371643

Browse files
authored
Update main.yml #GITBUILD almost
1 parent d90c076 commit b371643

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,13 @@ jobs:
116116
echo === Running BuildInstaller.bat ===
117117
call .\BuildInstaller.bat || echo WARNING: BuildInstaller.bat exited with %ERRORLEVEL%, continuing...
118118
echo === Verifying MSI ===
119-
if not exist "UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi" (
119+
if exist "UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi" (
120+
echo Success: MSI found at UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi
121+
exit /b 0
122+
) else (
120123
echo ERROR: MSI not found in UnityLauncherProInstaller\Release
121124
exit /b 1
122125
)
123-
echo Success: MSI found at UnityLauncherProInstaller\Release\UnityLauncherPro-Installer.msi
124126
125127
# Get the current date and time
126128
- name: Get current date and time

0 commit comments

Comments
 (0)