Skip to content

Commit

Permalink
Uninvent the wheel w/ re-actors/alls-green @ GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Aug 23, 2022
1 parent 5bf0a46 commit b566bfb
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,6 @@ jobs:
- pypi-publish
steps:
- name: Require all successes
shell: python
env:
RESULTS: ${{ toJSON(needs.*.result) }}
run: |
import json
import os
import sys
results = json.loads(os.environ["RESULTS"])
sys.exit(0 if all(result == "success" for result in results) else 1)
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}

0 comments on commit b566bfb

Please sign in to comment.