diff --git a/.github/real-workflows/test.yml b/.github/real-workflows/test.yml index cecc00c..f7d2e3c 100644 --- a/.github/real-workflows/test.yml +++ b/.github/real-workflows/test.yml @@ -44,3 +44,16 @@ jobs: run: npm install - name: Semantic Release run: npx semantic-release + success: + runs-on: ubuntu-22.04 + needs: + - test + - release + if: >- + always() && ( + contains(join(needs.*.result, ','), 'failure') + || !contains(join(needs.*.result, ','), 'cancelled') + ) + steps: + - name: Verify that there were no failures + run: ${{ !contains(join(needs.*.result, ','), 'failure') }}