From 0cd5e08b72b1a2add4f89b63e01281c1acdf083b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikodem=20Rabuli=C5=84ski?= Date: Wed, 7 Feb 2024 11:36:51 +0100 Subject: [PATCH] .github/workflows: all-green check --- .github/workflows/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a5971d8..7366423 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,6 +13,7 @@ jobs: matrix: runs-on: ubuntu-latest + needs: [check] outputs: aarch64-darwin: ${{ steps.generate_matrix.outputs.aarch64-darwin }} aarch64-linux: ${{ steps.generate_matrix.outputs.aarch64-linux }} @@ -80,3 +81,12 @@ jobs: run: | nix run .#attic -- login nrab-attic 'https://cache.nrab.lol/' ${{ secrets.ATTIC_TOKEN }} nix run .#attic -- push nrab-attic:public result + + all-built: + runs-on: ubuntu-latest + if: always() + needs: [build-x86_64-linux, build-aarch64-darwin, build-aarch64-linux] + steps: + - uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}