Skip to content

Add .NET Core 3.1 to release workflow setup-dotnet#54

Merged
Chris-Wolfgang merged 1 commit into
mainfrom
fix/release-add-netcoreapp31
Apr 27, 2026
Merged

Add .NET Core 3.1 to release workflow setup-dotnet#54
Chris-Wolfgang merged 1 commit into
mainfrom
fix/release-add-netcoreapp31

Conversation

@Chris-Wolfgang
Copy link
Copy Markdown
Owner

Problem

The v0.2.0 release failed because release.yaml's setup-dotnet step only installs .NET 5.0+ but the test project targets netcoreapp3.1:

Testhost process exited with error: You must install or update .NET to run this application.
Framework: 'Microsoft.NETCore.App', version '3.1.0' (x64)

Fix

Add 3.1.x to setup-dotnet in all 3 jobs in release.yaml. This matches what pr.yaml already does (PR checks pass because they install 3.1.x; release fails because it didn't).

Files changed

  • .github/workflows/release.yaml — 3 occurrences of dotnet-version updated

🤖 Generated with Claude Code

The test project targets netcoreapp3.1 but release.yaml only installed
.NET 5.0+, causing testhost to fail at runtime with "You must install
or update .NET to run this application." pr.yaml already installs 3.1.x;
this aligns release.yaml with that.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Chris-Wolfgang Chris-Wolfgang merged commit ccacc94 into main Apr 27, 2026
8 checks passed
@Chris-Wolfgang Chris-Wolfgang deleted the fix/release-add-netcoreapp31 branch April 27, 2026 22:23
Chris-Wolfgang added a commit to Chris-Wolfgang/DbContextBuilder that referenced this pull request Apr 28, 2026
## Summary
- `actions/download-artifact`: v4 → v8.0.1
- `softprops/action-gh-release`: v2.5.0 (SHA `a06a81a0`) → v3.0.0 (SHA
`b4309332`)
- Adds `3.1.x` to `dotnet-version` in all 3 `setup-dotnet` blocks.

Bundles two related release-workflow fixes:
1. Node 24 actions upgrade (mirrors
[ETL-Test-Kit#54](Chris-Wolfgang/ETL-Test-Kit#54))
— clears Node 20 deprecation warning.
2. .NET Core 3.1 SDK in setup-dotnet (mirrors
[ETL-Json#54](Chris-Wolfgang/ETL-Json#54)) —
needed because test projects target `netcoreapp3.1`.

## Breaking change review
- `download-artifact` v5 changed the output path for single artifact
downloads by ID. This workflow only downloads by `name:`, so unaffected.
- `action-gh-release` v3.0.0 is purely a Node 24 runtime bump per
release notes.

## Test plan
- [ ] Next release runs without Node 20 deprecation warning
- [ ] .NET Core 3.1 SDK installs and netcoreapp3.1 tests succeed
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