Skip to content

workflow: Create release assets#137

Merged
trantanen merged 1 commit into
nrfconnect:mainfrom
jorgenmk:add-release-assets
Feb 10, 2026
Merged

workflow: Create release assets#137
trantanen merged 1 commit into
nrfconnect:mainfrom
jorgenmk:add-release-assets

Conversation

@jorgenmk

Copy link
Copy Markdown

Build and add release assets to release page in github.

@jorgenmk jorgenmk requested review from Copilot and trantanen and removed request for Copilot January 13, 2026 15:06

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 adds automated release asset creation to the GitHub release workflow. When a release is created, the workflow builds the serial modem application and uploads platform-specific binaries as release assets.

Changes:

  • Added a new release workflow that triggers on release creation and builds release assets
  • Modified the build workflow to support being called from the release workflow with conditional release artifact generation
  • Added thingy91x platform to integration tests

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/release.yaml New workflow that orchestrates release asset creation by calling the build workflow and uploading artifacts to the release
.github/workflows/build.yml Added workflow_call trigger and conditional steps to build and package release binaries for thingy91x and nrf9151dk platforms
app/sample.yaml Added thingy91x platform to integration test platforms

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

Comment thread .github/workflows/build.yml Outdated
if: ${{ inputs.trigger_source == 'release-workflow' }}
working-directory: serial_modem
run: |
VERSION=${{ github.event.release.tag_name || github.ref_name || 'unknown-version' }}

Copilot AI Jan 13, 2026

Copy link

Choose a reason for hiding this comment

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

The github.event.release.tag_name context is not available in a reusable workflow called via workflow_call. The release event context only exists in the calling workflow. Consider passing the version as an input parameter to the reusable workflow instead.

Copilot uses AI. Check for mistakes.
- name: Upload artifacts
if: ${{ inputs.trigger_source == 'release-workflow' }}
uses: actions/upload-artifact@v4
with:

Copilot AI Jan 13, 2026

Copy link

Choose a reason for hiding this comment

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

The artifact upload is missing a name parameter. Without specifying a name, the artifact will be uploaded with a default name, which may not match the expected 'artifact/*' pattern used in the release.yaml download step (line 34). Add a name field such as name: artifact to ensure the download step can locate the uploaded files.

Suggested change
with:
with:
name: artifact

Copilot uses AI. Check for mistakes.
@jorgenmk jorgenmk force-pushed the add-release-assets branch 4 times, most recently from 93764ef to c2b8aa0 Compare January 19, 2026 12:12
Comment thread app/sample.yaml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread app/sample.yaml Outdated
@jorgenmk jorgenmk force-pushed the add-release-assets branch 3 times, most recently from c081214 to 02133e3 Compare January 19, 2026 14:53

@trantanen trantanen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We are almost there...

Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
@jorgenmk jorgenmk force-pushed the add-release-assets branch 2 times, most recently from a9448ba to 3525507 Compare January 20, 2026 08:22
Build and add release assets to release page in github.

Signed-off-by: Jorgen Kvalvaag <jorgen.kvalvaag@nordicsemi.no>
@trantanen trantanen merged commit 320e83f into nrfconnect:main Feb 10, 2026
3 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.

4 participants