Skip to content

ci: Switch to use windows-2025 instead of windows-2022#241

Merged
yarikoptic merged 6 commits intomasterfrom
enh-upgade-windows
Jan 5, 2026
Merged

ci: Switch to use windows-2025 instead of windows-2022#241
yarikoptic merged 6 commits intomasterfrom
enh-upgade-windows

Conversation

@yarikoptic
Copy link
Copy Markdown
Member

to avoid needing to 'catch up'.

yarikoptic and others added 4 commits January 3, 2026 19:43
to avoid needing to 'catch up'.

=== Do not change lines below ===
{
 "chain": [],
 "cmd": "git sedi windows-2022 windows-2025",
 "exit": 0,
 "extra_inputs": [],
 "inputs": [],
 "outputs": [],
 "pwd": "."
}
^^^ Do not change lines above ^^^
NSIS is not pre-installed on Windows Server 2025 runner images unlike
older Windows 2019/2022 images. This caused makensis to fail with
"createProcess: does not exist" error when building the installer.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When using bash shell in GitHub Actions on Windows, chocolatey's PATH
updates aren't reflected in the current bash session. Use PowerShell
for the install step and explicitly add NSIS path to GITHUB_PATH so
subsequent bash steps can find makensis.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Windows Server 2025 has OpenSSH pre-installed by default (unlike 2022).
The old approach of downloading OpenSSH v7.6.1.0p1-Beta from 2018 and
running install-sshd.ps1 conflicts with the built-in version.

Now we just start the pre-installed sshd service. The firewall rule is
also created automatically on Windows 2025.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
yarikoptic and others added 2 commits January 4, 2026 19:28
The "Fire up service" step using `net start sshd` is now redundant
since we already start the service in the "Start OpenSSH server" step
using PowerShell. Having both causes an error because the service is
already running.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Windows OpenSSH requires admin users to have their authorized keys in
C:\ProgramData\ssh\administrators_authorized_keys instead of the
user's ~/.ssh/authorized_keys. The file also requires specific
permissions (only SYSTEM and Administrators with Full Control).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@yarikoptic
Copy link
Copy Markdown
Member Author

woohoo! All green and tests pass

= 1087 passed, 209 skipped, 2 xfailed, 1 xpassed, 9 warnings in 5019.90s (1:23:39) =

Let's proceed with that new windows env

@yarikoptic yarikoptic merged commit 836acc4 into master Jan 5, 2026
7 checks passed
@yarikoptic yarikoptic deleted the enh-upgade-windows branch January 5, 2026 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant