Skip to content

Commit

Permalink
add final results step
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman committed Oct 24, 2024
1 parent 5c9a806 commit 37ec10c
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,16 @@ jobs:
run: |
nix build .#checks.x86_64-linux.${{ matrix.check }}
# nix run github:Mic92/nix-fast-build -- \
# --skip-cached --no-nom \
# --max-jobs 1 \
# --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
results:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Final Results
needs: [ tests ]
steps:
- run: |
result="${{ needs.tests.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi

0 comments on commit 37ec10c

Please sign in to comment.