Skip to content

Commit 4ac9f4e

Browse files
Removes installer building from windows action. (#9)
Fixes push CI/CD
1 parent da3cc53 commit 4ac9f4e

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/scripts/Package-Windows.ps1

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,24 +82,24 @@ function Package {
8282
Compress-Archive -Force @CompressArgs
8383
Log-Group
8484

85-
if ( ( $BuildInstaller ) ) {
86-
Log-Group "Packaging ${ProductName}..."
87-
88-
$IsccFile = "${ProjectRoot}/build_${Target}/installer-Windows.generated.iss"
89-
if ( ! ( Test-Path -Path $IsccFile ) ) {
90-
throw 'InnoSetup install script not found. Run the build script or the CMake build and install procedures first.'
91-
}
92-
93-
Log-Information 'Creating InnoSetup installer...'
94-
Push-Location -Stack BuildTemp
95-
Ensure-Location -Path "${ProjectRoot}/release"
96-
Copy-Item -Path ${Configuration} -Destination Package -Recurse
97-
Invoke-External iscc ${IsccFile} /O"${ProjectRoot}/release" /F"${OutputName}-Installer"
98-
Remove-Item -Path Package -Recurse
99-
Pop-Location -Stack BuildTemp
100-
101-
Log-Group
102-
}
85+
# if ( ( $BuildInstaller ) ) {
86+
# Log-Group "Packaging ${ProductName}..."
87+
88+
# $IsccFile = "${ProjectRoot}/build_${Target}/installer-Windows.generated.iss"
89+
# if ( ! ( Test-Path -Path $IsccFile ) ) {
90+
# throw 'InnoSetup install script not found. Run the build script or the CMake build and install procedures first.'
91+
# }
92+
93+
# Log-Information 'Creating InnoSetup installer...'
94+
# Push-Location -Stack BuildTemp
95+
# Ensure-Location -Path "${ProjectRoot}/release"
96+
# Copy-Item -Path ${Configuration} -Destination Package -Recurse
97+
# Invoke-External iscc ${IsccFile} /O"${ProjectRoot}/release" /F"${OutputName}-Installer"
98+
# Remove-Item -Path Package -Recurse
99+
# Pop-Location -Stack BuildTemp
100+
101+
# Log-Group
102+
# }
103103
}
104104

105105
Package

0 commit comments

Comments
 (0)