Skip to content

Commit 4756b66

Browse files
authored
Update main.yml #GITBUILD
testing again
1 parent b8536ea commit 4756b66

File tree

1 file changed

+18
-8
lines changed

1 file changed

+18
-8
lines changed

.github/workflows/main.yml

+18-8
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ jobs:
6666
shell: cmd
6767
run: call .\ArtifactBuild.cmd
6868

69+
# Check that output exists
70+
- name: Validate UnityLauncherPro.exe exists
71+
if: env.build_trigger == 'true'
72+
shell: cmd
73+
run: |
74+
if not exist "UnityLauncherPro\bin\Release\UnityLauncherPro.exe" (
75+
echo ERROR: UnityLauncherPro.exe not found.
76+
exit /b 1
77+
)
78+
echo Found UnityLauncherPro.exe
79+
6980
# 1) Compute a wrapped major.minor.build from the run number
7081
- name: Compute installer version
7182
if: env.build_trigger == 'true'
@@ -101,16 +112,15 @@ jobs:
101112
Write-Host "→ ProductVersion patched to $ver"
102113
Write-Host "→ ProductCode patched to $guid"
103114
104-
# Check that output exists
105-
- name: Validate UnityLauncherPro.exe exists
115+
# 3) **DEBUG**: print out the patched .vdproj so you can inspect it
116+
- name: Show patched .vdproj
106117
if: env.build_trigger == 'true'
107-
shell: cmd
118+
shell: pwsh
108119
run: |
109-
if not exist "UnityLauncherPro\bin\Release\UnityLauncherPro.exe" (
110-
echo ERROR: UnityLauncherPro.exe not found.
111-
exit /b 1
112-
)
113-
echo Found UnityLauncherPro.exe
120+
$proj = 'UnityLauncherProInstaller\UnityLauncherProInstaller.vdproj'
121+
Write-Host "=== BEGIN .vdproj CONTENT ==="
122+
Get-Content $proj
123+
Write-Host "=== END .vdproj CONTENT ==="
114124
115125
# locate VS 2022
116126
- name: Locate Visual Studio 2022

0 commit comments

Comments
 (0)