Skip to content

ci: install the tools release jobs need on self-hosted runners - #1774

Merged
JayVDZ merged 1 commit into
mainfrom
feature/release-self-hosted-tooling
Sep 23, 2026
Merged

JayVDZ merged 1 commit into
mainfrom
feature/release-self-hosted-tooling

Conversation

@JayVDZ

@JayVDZ JayVDZ commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Part of #1773.

Problem

Re-running the v0.15.0 release (run 35842615256, attempt 2) built, pushed and signed all three images and created the bundle. Two jobs then failed, and both are first-time self-hosted problems:

  • Publish PowerShell Module: Publish-Module needs the dotnet CLI ("dotnet command version '2.0.0' or newer is required"). GitHub-hosted runners have it; these self-hosted runners don't, and this job never set it up. Nothing reached PSGallery.
  • Deploy Documentation Site: refused before it started, because the github-pages environment only allowed the main and gh-pages branches. The job was added after v0.14.0 (ci: deploy the docs site via the GitHub Actions Pages pipeline #1265), so v0.15.0 is the first tag to try it. Fixed in settings, not here: the environment now also allows v* tags.

Fix

  • publish-powershell runs the same pinned actions/setup-dotnet step the validate job uses.
  • create-release (not yet reached) uses gh release create. A new step uses the runner's gh if it has one. Otherwise it downloads the GitHub CLI 2.97.0 (the devcontainer's version), verifies its SHA-256, and adds it to the job's PATH.

Evidence

  • The YAML parses.
  • I ran the download path locally: the checksum verifies and the binary reports gh version 2.97.0.

Docs: n/a - CI only.

🤖 Generated with Claude Code

Publish-Module needs the dotnet CLI, which the self-hosted runners lack, so
the PowerShell module failed to publish; set it up as the validate job does.
Create GitHub Release uses the GitHub CLI, so fetch a pinned, checksum-verified
copy when the runner has none.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@JayVDZ
JayVDZ enabled auto-merge (squash) September 23, 2026 09:48
@JayVDZ
JayVDZ merged commit 9643942 into main Sep 23, 2026
17 checks passed
@JayVDZ
JayVDZ deleted the feature/release-self-hosted-tooling branch September 23, 2026 10:33
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