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: |
|
run: |
|
||||||
nix build .#checks.x86_64-linux.${{ matrix.check }}
|
nix build .#checks.x86_64-linux.${{ matrix.check }}
|
||||||
|
|
||||||
# nix run github:Mic92/nix-fast-build -- \
|
results:
|
||||||
# --skip-cached --no-nom \
|
if: ${{ always() }}
|
||||||
# --max-jobs 1 \
|
runs-on: ubuntu-latest
|
||||||
# --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
|
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