feat: Job to enforce build success (#28)

* feat: Use (more) stable job names

* feat: Add job to enforce build success
This commit is contained in:
bo0tzz
2023-12-16 21:07:12 +01:00
committed by GitHub
parent b9f8988236
commit 928539a668

View File

@@ -39,8 +39,6 @@ jobs:
matrix: ${{ fromJson(needs.configure.outputs.matrix) }}
steps:
# Setup
- name: Checkout
uses: actions/checkout@v4
with:
@@ -110,3 +108,17 @@ jobs:
build-args: |
CNPG_TAG=${{ matrix.cnpg }}
PGVECTORS_TAG=${{ matrix.pgvectors }}
results:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Build results
needs: [build_and_push]
steps:
- run: |
result="${{ needs.build_and_push.result }}"
if [[ $result == "success" || $result == "skipped" ]]; then
exit 0
else
exit 1
fi