Skip to content

Commit

Permalink
chore: Update ci.yml in tsnsrv
Browse files Browse the repository at this point in the history
  • Loading branch information
antifuchs committed Aug 4, 2023
1 parent b8629ee commit 0b07bc3
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,13 @@
"actions": "read"
"runs-on": "ubuntu-latest"
"steps":
- "id": "check"
"uses": "martialonline/workflow-status@v4"
- "if": "steps.check.outputs.status != 'success'"
"name": "non-success detected"
"run": "false"
- "if": "steps.check.outputs.status == 'success'"
"name": "success"
"run": "true"
- "env":
"NEEDS_JSON": "${{toJSON(needs)}}"
"name": "Transform outcomes"
"run": |
echo "ALL_SUCCESS=$(echo "$NEEDS_JSON" | jq '. | to_entries | map(.value.result == "success") | all')" >>$GITHUB_ENV
- "name": "check"
"run": "[ $ALL_SUCCESS == true ]"
"tests":
"secrets": "inherit"
"uses": "./.github/workflows/tests.yml"
Expand Down

0 comments on commit 0b07bc3

Please sign in to comment.