Skip to content

Commit 6f78df7

Browse files
committed
Refactor test workflows
1 parent c3948ae commit 6f78df7

File tree

1 file changed

+13
-18
lines changed

1 file changed

+13
-18
lines changed

.github/workflows/flutter.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,19 @@
11
name: Flutter
22

33
on:
4-
workflow_call:
5-
inputs:
6-
runs-on:
7-
description: 'Operating system'
8-
required: true
9-
default: 'ubuntu-latest'
10-
type: string
11-
version:
12-
description: 'Flutter version'
13-
required: true
14-
default: 'latest'
15-
type: string
16-
channel:
17-
description: 'Flutter channel'
18-
required: true
19-
default: 'stable'
20-
type: string
21-
4+
push:
5+
branches: [main, v*]
6+
pull_request:
7+
branches: [main, v*]
8+
schedule:
9+
# https://crontab.guru/#40_10_*_*_*
10+
- cron: '40 10 * * *'
11+
workflow_dispatch:
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
2217
jobs:
2318
stable:
2419
runs-on: ${{ matrix.runs-on }}

0 commit comments

Comments
 (0)