chore(ci): trigger prepare release workflow on version tag push

The CI don't wait anymore on other builds to trigger release
preparation workflow. It's up to the team to be sure that builds
are passing before pushing a new version tag on default branch.
In addition build workflows will run only when there is push on
default branch. Nothing will happend when a version tag is pushed
now.
This commit is contained in:
David Testé
2023-01-16 11:40:17 +01:00
committed by David Testé
parent 6f0fbc8a3d
commit bc58e25d2a
4 changed files with 7 additions and 16 deletions

View File

@@ -2,9 +2,7 @@ name: Check format and run linters
on:
push:
branches: [main, test-ci]
tags:
- 'v*'
branches: main
pull_request:
types: [opened, synchronize, reopened]

View File

@@ -5,8 +5,6 @@ on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
jobs:

View File

@@ -1,13 +1,10 @@
# Release packages for GNU/Linux and MacOS.
name: Release
# Prepare release packages for GNU/Linux and MacOS on private stores.
name: Prepare Release
on:
workflow_run:
workflows: [AwsEc2BuildCpu, AwsEc2BuildGpu, MacOsBuild]
branches:
- main
types:
- completed
push:
tags:
- 'v[0-9]+.*'
env:
DOCKER_IMAGE_TEST: ghcr.io/zama-ai/concrete-compiler

View File

@@ -3,10 +3,8 @@ name: Start all AWS builds
on:
push:
branches:
branch:
- 'main'
tags:
- 'v*'
workflow_dispatch:
jobs: