Create bundle-firmware action for release branch (#401)

This commit is contained in:
Ken Van Hoeylandt
2025-10-30 22:46:52 +01:00
committed by GitHub
parent 388c2cfe4b
commit 9ae3e48600
5 changed files with 30 additions and 4 deletions
@@ -0,0 +1,15 @@
name: Bundle All
runs:
using: 'composite'
steps:
- name: 'Download artifacts'
uses: actions/download-artifact@v4
with:
path: firmwares
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
with:
name: 'all-firmwares'
path: firmwares/
retention-days: 3
+9 -1
View File
@@ -9,7 +9,7 @@ on:
permissions: read-all
jobs:
build:
Build:
strategy:
matrix:
board: [
@@ -54,3 +54,11 @@ jobs:
with:
board_id: ${{ matrix.board.id }}
arch: ${{ matrix.board.arch }}
Bundle:
runs-on: ubuntu-latest
needs: [ Build ]
if: (github.event_name == 'pull_request' && startsWith(github.head_ref, 'release'))
steps:
- uses: actions/checkout@v4
- name: "Bundle"
uses: ./.github/actions/bundle-firmware
+2 -2
View File
@@ -9,7 +9,7 @@ on:
permissions: read-all
jobs:
build:
Build:
strategy:
matrix:
board: [
@@ -23,4 +23,4 @@ jobs:
uses: ./.github/actions/build-sdk
with:
board_id: ${{ matrix.board.id }}
arch: ${{ matrix.board.arch }}
arch: ${{ matrix.board.arch }}
+1 -1
View File
@@ -4,7 +4,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
types: [ opened, synchronize, reopened ]
jobs:
run:
runs-on: ubuntu-latest