diff options
| author | seth <[email protected]> | 2024-10-16 21:10:10 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-10-16 23:23:33 -0400 |
| commit | 43d30b3ea28ab03a2e6da5101dc2b84918f18c51 (patch) | |
| tree | 83d68eca6e47f557224b4ed2cbd0615e62a7ba99 /.github | |
| parent | 4cbce9bc208e540b4a579378d3ae12759337eb57 (diff) | |
ci: reorder build gate job
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yaml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 479dfff..e129cf7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -62,20 +62,6 @@ jobs: --option allow-import-from-derivation false \ --flake '.#packages' - build-gate: - name: Build gate - - if: ${{ always() }} - - needs: build - - runs-on: ubuntu-latest - - steps: - - name: Exit with error - if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') - run: exit 1 - check: name: Check flake @@ -95,3 +81,16 @@ jobs: --print-build-logs \ --show-trace \ --accept-flake-config + + build-gate: + name: Build gate + needs: build + + if: ${{ always() }} + + runs-on: ubuntu-latest + + steps: + - name: Exit with error + if: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }} + run: exit 1 |
