Skip to content

fix: add -r win-x64 to restore step in Windows release workflow#553

Merged
StuartFerguson merged 1 commit intomainfrom
copilot/fix-windows-release-workflow
Apr 23, 2026
Merged

fix: add -r win-x64 to restore step in Windows release workflow#553
StuartFerguson merged 1 commit intomainfrom
copilot/fix-windows-release-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

dotnet publish --no-restore was failing with NETSDK1112 because the win-x64 runtime pack was never downloaded — the restore step ran without a runtime identifier, so the self-contained runtime assets weren't fetched.

Change

  • Added -r win-x64 to the dotnet restore call in .github/workflows/release_windows.yml so the runtime pack is present before the --no-restore publish runs.
# Before
run: dotnet restore TransactionProcessor.Mobile.sln --source ...

# After
run: dotnet restore TransactionProcessor.Mobile.sln -r win-x64 --source ...

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@StuartFerguson StuartFerguson marked this pull request as ready for review April 23, 2026 20:40
@StuartFerguson StuartFerguson merged commit 32a7ac6 into main Apr 23, 2026
10 checks passed
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.

2 participants