File tree Expand file tree Collapse file tree 2 files changed +18
-21
lines changed Expand file tree Collapse file tree 2 files changed +18
-21
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches :
9
9
- main
10
+ paths :
11
+ - " **.md"
12
+ - " **.yaml"
13
+ - " **.yml"
10
14
11
15
jobs :
12
- dry_run :
13
- name : Dry run publish on ${{ matrix.os }}
14
- runs-on : ${{ matrix.os }}
15
- strategy :
16
- matrix :
17
- os : [ ubuntu-latest ]
16
+ publish-dry-run :
17
+ name : Publish dry-run with packages
18
+ runs-on : ubuntu-latest
18
19
steps :
19
20
- uses : actions/checkout@v3
20
21
- uses : k-paxian/dart-package-publisher@master
21
22
with :
22
23
credentialJson : ' MockCredentialJson'
23
24
flutter : true
24
25
dryRunOnly : true
26
+ skipTests : true
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches :
9
9
- main
10
+ paths-ignore :
11
+ - " **.md"
10
12
11
13
jobs :
12
14
analyze :
@@ -41,42 +43,35 @@ jobs:
41
43
42
44
test_iOS :
43
45
needs : analyze
44
- name : Test iOS on ${{ matrix.os }}
45
- runs-on : ${{ matrix.os }}
46
- strategy :
47
- matrix :
48
- os : [ macos-latest ]
46
+ name : Test iOS
47
+ runs-on : macos-latest
49
48
steps :
50
49
- uses : actions/checkout@v3
51
50
- uses : actions/setup-java@v3
52
51
with :
53
52
distribution : ' adopt'
54
53
java-version : ' 11.x'
55
- - uses : subosito/flutter-action@v2
54
+ - uses : subosito/flutter-action@v2.8.0
56
55
with :
57
- architecture : x64
58
- channel : ' stable'
56
+ channel : stable
59
57
- run : dart --version
60
58
- run : flutter --version
61
59
- run : flutter pub get
62
60
- run : cd example; flutter build ios --no-codesign
63
61
64
62
test_android :
65
63
needs : analyze
66
- name : Test Android on ${{ matrix.os }}
67
- runs-on : ${{ matrix.os }}
68
- strategy :
69
- matrix :
70
- os : [ ubuntu-latest ]
64
+ name : Test Android
65
+ runs-on : ubuntu-latest
71
66
steps :
72
67
- uses : actions/checkout@v3
73
68
- uses : actions/setup-java@v3
74
69
with :
75
70
distribution : ' adopt'
76
71
java-version : ' 11.x'
77
- - uses : subosito/flutter-action@v2
72
+ - uses : subosito/flutter-action@v2.8.0
78
73
with :
79
- channel : ' stable'
74
+ channel : stable
80
75
- run : dart --version
81
76
- run : flutter --version
82
77
- run : flutter pub get
You can’t perform that action at this time.
0 commit comments