Skip to content

Commit 29e4660

Browse files
ci: split pipelines for flutter versions
1 parent 2848578 commit 29e4660

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+
schedule:
5+
- cron: '0 0 */15 * *' # Runs every 15 days for verifying changes on Flutter beta channel
6+
push:
7+
branches: [beta]
8+
tags:
9+
- '[0-9]+.[0-9]+.[0-9]+-*'
10+
11+
pull_request:
12+
branches: [beta]
13+
14+
workflow_dispatch:
15+
16+
# This ensures that previous jobs for the PR are canceled when PR is updated
17+
concurrency:
18+
group: ${{ github.workflow }}-${{ github.ref }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build:
23+
uses: flutter-form-builder-ecosystem/.github/.github/workflows/minimal-quality.yaml@main
24+
with:
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)