Skip to content

Fix deprecated build and release workflow - #552

Open
torselden wants to merge 2 commits into
mainfrom
fix/551-deprecated-release-pipeline
Open

Fix deprecated build and release workflow#552
torselden wants to merge 2 commits into
mainfrom
fix/551-deprecated-release-pipeline

Conversation

@torselden

@torselden torselden commented Aug 20, 2026

Copy link
Copy Markdown

High level overview of this PR:
Fixes #551

  • Fix the failing Release workflow by replacing the broken actions/github-script@v5 artifact download with actions/download-artifact@v4
  • Add the required permissions (actions: read, packages: write) to the release job and remove the now-redundant manual unzip step
  • Bonus: Update the remaining deprecated actions in the build_samples job (actions/checkout@v2 → @v4, actions/setup-dotnet@v1.7.2 → @v4)

These things have been implemented (when relevant):

  • Code written

Tor Seldén added 2 commits August 20, 2026 13:59
actions/github-script@v5 is not compatible with Node 24 which is now forcebly used.

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

This PR updates the CI/CD GitHub Actions workflows to remove deprecated actions and fix the Release workflow’s artifact download mechanism, enabling NuGet packages to be published to GitHub Packages reliably.

Changes:

  • Replace actions/github-script@v5 artifact download logic with actions/download-artifact@v4 in the Release workflow.
  • Add required permissions to the release job and remove the manual unzip step.
  • Update deprecated actions in build_samples (actions/checkout@v2@v4, actions/setup-dotnet@v1.7.2@v4).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/release.yml Updates artifact download approach and job permissions for releasing packages.
.github/workflows/build.yml Modernizes deprecated actions used in the build_samples job.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/release.yml
@torselden torselden changed the title Fix/551 deprecated build and release workflow Fix deprecated build and release workflow Aug 21, 2026
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.

Release workflow fails at "Download artifact" — actions/github-script@v5 broken by forced Node 24 runtime

2 participants