Skip to content

Commit

Permalink
Try this
Browse files Browse the repository at this point in the history
  • Loading branch information
alexweininger committed Sep 29, 2023
1 parent b9d3cdf commit 4402f1d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ jobs:
CheckResults: # TODO: this will fail if no packages have been modified
# Require all jobs under `build` to have succeeded
# See https://github.com/orgs/community/discussions/26822
if: ${{ always() }}
if: ${{ needs.ChangedPackages.outputs.packages[0] != null }}
needs: [Build, ChangedPackages]
runs-on: ubuntu-latest
steps:
- run: exit 0
if: ${{ needs.ChangedPackages.outputs.packages[0] == null }}
- run: exit 1
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}

0 comments on commit 4402f1d

Please sign in to comment.