Skip to content

Commit

Permalink
Merge pull request #269 from cybertec-postgresql/gha-concurrency
Browse files Browse the repository at this point in the history
[+] add concurrency clause to Build GHA workflow
  • Loading branch information
pashagolub authored Aug 30, 2023
2 parents a11a713 + 160d8f4 commit 73fcb80
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:

test-postgresql-windows:
Expand Down Expand Up @@ -162,10 +166,10 @@ jobs:
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --snapshot --skip-publish --rm-dist
args: release --snapshot --skip-publish --clean

test-docker-images:
if: false # false to skip job during debug
if: true # false to skip job during debug
name: Test Docker Image on Ubuntu
runs-on: ubuntu-latest
steps:
Expand All @@ -176,11 +180,4 @@ jobs:
- name: Build Docker Image
shell: bash
run: |
./build-docker-demo.sh
./build-docker.sh
# - name: Smoke Test Docker Image
# timeout-minutes: 10
# shell: bash
# run: |
# docker/test/smoke_test_docker_image.sh cybertec/pgwatch3:latest
./build-docker.sh

0 comments on commit 73fcb80

Please sign in to comment.