add final results step
This commit is contained in:
parent
5c9a8067d4
commit
37ec10cc25
1 changed files with 13 additions and 4 deletions
17
.github/workflows/build.yaml
vendored
17
.github/workflows/build.yaml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue