Skip to content

Commit

Permalink
add a summary step to build action for branch protection
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns committed Jun 18, 2024
1 parent a8aa58e commit 33fb679
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,12 @@ jobs:
conda config --add channels conda-forge
conda config --add channels rmg
conda build --token $CONDA_TOKEN --user rmg ${{ matrix.recipe }}
result:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Final Results
needs: [build]
steps:
- run: exit 1
# see https://github.com/orgs/community/discussions/26822?sort=new#discussioncomment-8285141
if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }}

0 comments on commit 33fb679

Please sign in to comment.