Skip to content

Commit

Permalink
Revert "Use universal "needs not failed" @ CI conditions"
Browse files Browse the repository at this point in the history
This reverts commit f5597a0.
  • Loading branch information
webknjaz committed Jun 7, 2024
1 parent d471892 commit 3c2c36a
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1541,10 +1541,7 @@ jobs:
- pre-setup # transitive, for accessing settings
if: >-
always()
&& ! (
contains(needs.*.result, 'skipped')
|| contains(needs.*.result, 'failure')
)
&& needs.check.result == 'success'
&& fromJSON(needs.pre-setup.outputs.release-requested)
runs-on: ubuntu-latest

Expand Down Expand Up @@ -1576,10 +1573,7 @@ jobs:
- pre-setup # transitive, for accessing settings
if: >-
always()
&& ! (
contains(needs.*.result, 'skipped')
|| contains(needs.*.result, 'failure')
)
&& needs.check.result == 'success'
&& (
fromJSON(needs.pre-setup.outputs.is-untagged-devel)
|| fromJSON(needs.pre-setup.outputs.release-requested)
Expand Down Expand Up @@ -1618,10 +1612,7 @@ jobs:
- pre-setup # transitive, for accessing settings
if: >-
always()
&& ! (
contains(needs.*.result, 'skipped')
|| contains(needs.*.result, 'failure')
)
&& needs.publish-pypi.result == 'success'
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -1715,10 +1706,7 @@ jobs:
- pre-setup # transitive, for accessing settings
if: >-
always()
&& ! (
contains(needs.*.result, 'skipped')
|| contains(needs.*.result, 'failure')
)
&& needs.post-release-repo-update.result == 'success'
runs-on: ubuntu-latest

permissions:
Expand Down Expand Up @@ -1807,10 +1795,7 @@ jobs:
- pre-setup # transitive, for accessing settings
if: >-
always()
&& ! (
contains(needs.*.result, 'skipped')
|| contains(needs.*.result, 'failure')
)
&& needs.check.result == 'success'
&& (
fromJSON(needs.pre-setup.outputs.is-untagged-devel) ||
fromJSON(needs.pre-setup.outputs.release-requested)
Expand Down

0 comments on commit 3c2c36a

Please sign in to comment.