Skip to content

ci: install .NET 6 in publish workflow#3

Merged
OrFrederick merged 1 commit into
mainfrom
ci/setup-dotnet-6
Jun 17, 2026
Merged

ci: install .NET 6 in publish workflow#3
OrFrederick merged 1 commit into
mainfrom
ci/setup-dotnet-6

Conversation

@OrFrederick

Copy link
Copy Markdown
Contributor

Why

publish.yaml failed on the 2.4.0 merge: tools/CaroKann (type generator) targets net6.0, but ubuntu-latest (now ubuntu-24.04) no longer ships the .NET 6 runtime — only 8/9/10. The pnpm buildbuild:types step aborts with Microsoft.NETCore.App 6.0.0 not found, so Publish/tag never run. This blocks any release, not just 2.4.0.

Fix

Add actions/setup-dotnet@v4 (6.0.x) after checkout so CaroKann's runtime is present. Type generation is unchanged.

Effect

Merging this re-triggers publish.yaml; with .NET 6 available the build proceeds and 2.4.0 publishes (npm currently at 2.3.0).

Note: longer-term, retargeting CaroKann to net8 would drop the EOL-6 dependency, but that's a separate, riskier change.

@OrFrederick OrFrederick merged commit 6e3413b into main Jun 17, 2026
1 check passed
@OrFrederick OrFrederick deleted the ci/setup-dotnet-6 branch June 17, 2026 17:55
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