Run CI on self-hosted host runners (powershell-linux); switch publish to PSResourceGet #2

Merged
gsadmin merged 1 commits from dev into main 2026-06-03 13:33:25 +00:00

1 Commits

Author SHA1 Message Date
GraceSolutions 6f0055bd68 Run CI on self-hosted host runners (powershell-linux); switch publish to PSResourceGet
Publish to PowerShell Gallery / build (pull_request) Failing after 21s
Publish to PowerShell Gallery / release (pull_request) Has been skipped
Publish to PowerShell Gallery / publish (pull_request) Has been skipped
All three jobs (build, release, publish) now target runs-on: powershell-linux, which maps to :host on the Gitea runner so steps execute directly on the host OS instead of inside a Docker container. Dropped the apt-get/sudo install blocks and actions/setup-dotnet in favor of a fast preflight that verifies pwsh (and dotnet for the build job) are present, failing loudly otherwise. Publish job migrated off the legacy PowerShellGet v2 path (Set-PSRepository / Install-PackageProvider NuGet / Publish-Module) to Microsoft.PowerShell.PSResourceGet (Set-PSResourceRepository / Publish-PSResource), which is bundled with PS 7.4+ on Linux and does not depend on the NuGet package provider.
2026-06-03 09:29:45 -04:00