diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 5ccc1c76d2..688976fd01 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -58,7 +58,7 @@ jobs: run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.18.yaml build - name: Build project without leak detection - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/4.1') }} run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.18.yaml run build - name: Build project with leak detection @@ -107,7 +107,7 @@ jobs: run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml build - name: Build project without leak detection - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/4.1') }} run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.111.yaml run build - name: Build project with leak detection @@ -156,7 +156,7 @@ jobs: run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.115.yaml build - name: Build project without leak detection - if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/4.1') }} run: docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.centos-6.115.yaml run build - name: Build project with leak detection