Skip to content

Commit 75054aa

Browse files
ci: split pipelines by channels
1 parent fffb27d commit 75054aa

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

.github/workflows/base-beta.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Base (beta)
2+
3+
on:
4+
push:
5+
branches: [beta]
6+
tags:
7+
- '[0-9]+.[0-9]+.[0-9]+-*'
8+
9+
pull_request:
10+
branches: [beta]
11+
12+
workflow_dispatch:
13+
14+
# This ensures that previous jobs for the PR are canceled when PR is updated
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
build:
21+
uses: flutter-form-builder-ecosystem/.github/.github/workflows/minimal-quality.yaml@main
22+
with:
23+
codecov-name: flutter_form_builder
24+
enable-fix-tests: true
25+
fvm-flavor: beta
26+
example:
27+
uses: flutter-form-builder-ecosystem/.github/.github/workflows/build-examples.yaml@main
28+
with:
29+
fvm-flavor: beta
30+
31+
32+
deployment:
33+
permissions:
34+
id-token: write
35+
uses: flutter-form-builder-ecosystem/.github/.github/workflows/deployment.yaml@main
36+
if: ${{ github.ref_type == 'tag' }}
37+
needs: [build, example]

.github/workflows/base.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
tags:
7-
- '[0-9]+.[0-9]+.[0-9]+*'
7+
- '[0-9]+.[0-9]+.[0-9]+'
88

99
pull_request:
1010
branches: [main]

0 commit comments

Comments
 (0)