Skip to content

fix: publish artifacts bundling the runtime - #160

Merged
arition merged 2 commits into
masterfrom
copilot/fix-github-actions-dotnet-runtime
May 8, 2026
Merged

fix: publish artifacts bundling the runtime#160
arition merged 2 commits into
masterfrom
copilot/fix-github-actions-dotnet-runtime

Conversation

Copilot AI commented May 8, 2026

Copy link
Copy Markdown
Contributor

Framework-dependent release artifacts were still being produced with the .NET runtime bundled, making them effectively identical to the with-runtime artifacts.

  • Publish flags
    • Replaced --self-contained false with the explicit framework-dependent flag: --no-self-contained
    • Kept runtime-bundled artifacts on --self-contained
dotnet publish ... --no-self-contained
dotnet publish ... --self-contained
  • Artifact behavior
    • SubRenamer-win-* artifacts are framework-dependent
    • SubRenamer-with-runtime-win-* artifacts remain self-contained

Copilot AI and others added 2 commits May 8, 2026 22:17
…untime contamination

Agent-Logs-Url: https://github.com/arition/SubRenamer/sessions/bbfbc8a7-d5a8-4bd8-ad2c-d69a9b9f21e4

Co-authored-by: arition <3581094+arition@users.noreply.github.com>
Agent-Logs-Url: https://github.com/arition/SubRenamer/sessions/495cd5cb-2818-4dfa-beae-dea4bc618102

Co-authored-by: arition <3581094+arition@users.noreply.github.com>
@arition arition changed the title Fix framework-dependent publish artifacts bundling the runtime fix: publish artifacts bundling the runtime May 8, 2026
@arition arition linked an issue May 8, 2026 that may be closed by this pull request
@arition
arition marked this pull request as ready for review May 8, 2026 23:25
Copilot AI review requested due to automatic review settings May 8, 2026 23:25
@arition
arition merged commit 22bd278 into master May 8, 2026
3 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the GitHub Actions publish workflow so the “no runtime” Windows release artifacts are truly framework-dependent, while keeping the “with-runtime” artifacts self-contained, aligning the artifact outputs with their intended packaging.

Changes:

  • Switch framework-dependent publishes from --self-contained false to --no-self-contained.
  • Keep runtime-bundled publishes self-contained (--self-contained).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

v4.4.2不带运行库版本搞错了吧

3 participants