-
Notifications
You must be signed in to change notification settings - Fork 44
39 lines (31 loc) · 1009 Bytes
/
post_release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# NOTE: Please keep in sync with `ci.yaml`
#
# Ensure README.md's steps can work correctly, where users use the released versions
# instead of the code in master branch
name: Post-release
on:
workflow_dispatch: {}
schedule:
- cron: '0,30 * * * *'
jobs:
flutter:
runs-on: ubuntu-latest
strategy:
matrix:
channel:
# - beta # too different from stable, thus analyzer will complain
- stable
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: ${{ matrix.channel }}
- name: Use pubspec pointing to release versions
run: |
cp ./packages/convenient_test/example/pubspec.yaml.release ./packages/convenient_test/example/pubspec.yaml
- name: Install dependencies
run: flutter pub get
working-directory: packages/convenient_test/example
- name: Run tests
run: flutter test
working-directory: packages/convenient_test/example