From 8adf4fd4f21dca24294385e1b9c1e58bb1e43b1d Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 4 Jun 2023 13:43:46 +0200 Subject: [PATCH] [CI] Added option to only run rpi build --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8ff3e5d..b5c76bfe 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,7 @@ on: type: choice options: - all + - none - arduino:avr:uno - arduino:avr:mega - arduino:avr:leonardo @@ -107,7 +108,7 @@ jobs: runs-on: ubuntu-latest name: ${{ matrix.id }} 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: - name: Install arduino-cli