Fix non leak build condition
This commit is contained in:
parent
7bf2ffac35
commit
87f5cc5fa2
6
.github/workflows/ci-build.yml
vendored
6
.github/workflows/ci-build.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user