Create bundle-firmware action for release branch (#401)
This commit is contained in:
committed by
GitHub
parent
388c2cfe4b
commit
9ae3e48600
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
@@ -4,7 +4,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened]
|
||||
types: [ opened, synchronize, reopened ]
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user