fix(ci): testing full release cycle before release branches can be merged

This commit is contained in:
tuunit
2024-10-02 16:03:13 +02:00
parent f5d36705fa
commit 07230ead91
3 changed files with 15 additions and 2 deletions
+14
View File
@@ -41,9 +41,16 @@ jobs:
make lint
- name: Build
if: (!startsWith(github.head_ref, 'release'))
run: |
make build
# For release testing
- name: Build All
if: github.base_ref == 'master' && startsWith(github.head_ref, 'release')
run: |
make release
- name: Test
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
@@ -64,5 +71,12 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Docker Build
if: (!startsWith(github.head_ref, 'release'))
run: |
make docker
# For release testing
- name: Docker Build All
if: github.base_ref == 'master' && startsWith(github.head_ref, 'release')
run: |
make docker-all