[CI] Added option to only run rpi build
This commit is contained in:
parent
d8fa707d5f
commit
8adf4fd4f2
1 changed files with 2 additions and 1 deletions
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
|
@ -14,6 +14,7 @@ on:
|
||||||
type: choice
|
type: choice
|
||||||
options:
|
options:
|
||||||
- all
|
- all
|
||||||
|
- none
|
||||||
- arduino:avr:uno
|
- arduino:avr:uno
|
||||||
- arduino:avr:mega
|
- arduino:avr:mega
|
||||||
- arduino:avr:leonardo
|
- arduino:avr:leonardo
|
||||||
|
@ -107,7 +108,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: ${{ matrix.id }}
|
name: ${{ matrix.id }}
|
||||||
env:
|
env:
|
||||||
run-build: ${{ (matrix.id == 'arduino:avr:uno') || contains(github.event.head_commit.message, 'CI_BUILD_ALL') || contains(github.event.head_commit.message, 'Bump version to') || contains(github.event.head_commit.message, format('{0}', matrix.id)) || inputs.id == 'all' || inputs.id == matrix.id }}
|
run-build: ${{ (inputs.id != 'none' && matrix.id == 'arduino:avr:uno') || contains(github.event.head_commit.message, 'CI_BUILD_ALL') || contains(github.event.head_commit.message, 'Bump version to') || contains(github.event.head_commit.message, format('{0}', matrix.id)) || inputs.id == 'all' || inputs.id == matrix.id }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install arduino-cli
|
- name: Install arduino-cli
|
||||||
|
|
Loading…
Add table
Reference in a new issue