mirror of
https://github.com/YuzuZensai/cloudnative-vectorchord-pgvecto.rs.git
synced 2026-01-06 04:33:02 +00:00
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:
16
.github/workflows/docker.yml
vendored
16
.github/workflows/docker.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user