From e1ab28f24ae1f9f6b27e91843e2204a928a62af7 Mon Sep 17 00:00:00 2001 From: Chris <52449218+shadow578@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:14:21 +0000 Subject: [PATCH] add alls-green job for build_examples build matrix --- .github/workflows/ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dc3ba02..66ec92f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -75,3 +75,14 @@ jobs: # build the 'CI' environment - name: Build 'ci' environment run: pio run --project-dir ${{ matrix.example }} --environment ci + + # dummy job after all examples were build + all_build: + runs-on: ubuntu-latest + needs: [build] + if: always() + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} \ No newline at end of file