diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-22 11:35:16 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-22 11:35:16 +0000 |
| commit | 2f033fe5c922cc7d1ca1b619dc665cbc21341983 (patch) | |
| tree | c6d5eafaf4eaa7881f60a00427a1fb60e3332d43 /.github | |
| parent | 0ee55887474146f7a8b679db65ff12c2e9b61815 (diff) | |
build: package and invoke install.cmd instead of install.ps1
The Windows ZIP now ships install.cmd, rewritten to CRLF by
configure_file so the package is right on any build host. The CMake
install target runs it through "cmd /d /c call", and install.cmd
replaces install.ps1 in the version input paths.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/nightly-build.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 70e8d41..b2af0b9 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -401,7 +401,7 @@ jobs: $smokeDir = Join-Path $env:RUNNER_TEMP 'cpsc-smoke' Expand-Archive -LiteralPath $packages[0].FullName -DestinationPath $smokeDir $packageDir = Join-Path $smokeDir $packages[0].BaseName - foreach ($file in @('cpsc.exe', 'install.ps1', 'LICENSE', 'doc/cpsc.html', 'doc/language/cpsc-language-overview.html')) { + foreach ($file in @('cpsc.exe', 'install.cmd', 'LICENSE', 'doc/cpsc.html', 'doc/language/cpsc-language-overview.html')) { if (-not (Test-Path -LiteralPath (Join-Path $packageDir $file) -PathType Leaf)) { throw "Missing package file: $file" } |
