Fix non leak build condition

This commit is contained in:
Norman Maurer 2020-12-22 19:16:20 +01:00
parent 7bf2ffac35
commit 87f5cc5fa2

View File

@ -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