diff --git a/.github/workflows/build_cc.yml b/.github/workflows/build_cc.yml index f96cff2f03..f5ff39058f 100644 --- a/.github/workflows/build_cc.yml +++ b/.github/workflows/build_cc.yml @@ -48,5 +48,9 @@ jobs: name: Pass building C++ needs: [buildcc] runs-on: ubuntu-latest + if: always() steps: - - run: echo "All jobs passed" + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index c053766b35..be01338b21 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -87,3 +87,14 @@ jobs: with: user: __token__ password: ${{ secrets.pypi_password }} + + pass: + name: Pass testing build wheels + needs: [build_wheels, build_sdist] + runs-on: ubuntu-latest + if: always() + steps: + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/test_cc.yml b/.github/workflows/test_cc.yml index e6e7047aa0..22d4a31a20 100644 --- a/.github/workflows/test_cc.yml +++ b/.github/workflows/test_cc.yml @@ -39,5 +39,9 @@ jobs: name: Pass testing C++ needs: [testcc] runs-on: ubuntu-latest + if: always() steps: - - run: echo "All jobs passed" + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }} diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 6ad27a9a22..f65b9477fb 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -55,5 +55,9 @@ jobs: name: Pass testing Python needs: [testpython] runs-on: ubuntu-latest + if: always() steps: - - run: echo "All jobs passed" + - name: Decide whether the needed jobs succeeded or failed + uses: re-actors/alls-green@release/v1 + with: + jobs: ${{ toJSON(needs) }}