add final results step

This commit is contained in:
ibizaman 2024-10-24 16:36:19 +02:00
parent 5c9a8067d4
commit 37ec10cc25

View file

@ -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