File tree Expand file tree Collapse file tree 4 files changed +76
-41
lines changed Expand file tree Collapse file tree 4 files changed +76
-41
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,19 @@ jobs:
38
38
39
39
# Verify the Android add-to-app samples build and pass tests with the beta
40
40
# channel.
41
- # android-build:
42
- # runs-on: ubuntu-latest
43
- # if: github.repository == 'flutter/samples'
44
- # steps:
45
- # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46
- # - uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
47
- # with:
48
- # distribution: 'zulu'
49
- # java-version: '17'
50
- # - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
51
- # with:
52
- # channel: beta
53
- # - run: ./tool/android_ci_script.sh
41
+ android-build :
42
+ runs-on : ubuntu-latest
43
+ if : github.repository == 'flutter/samples'
44
+ steps :
45
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46
+ - uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
47
+ with :
48
+ distribution : ' zulu'
49
+ java-version : ' 17'
50
+ - uses : subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
51
+ with :
52
+ channel : beta
53
+ - run : ./tool/android_ci_script.sh
54
54
55
55
# Verify the iOS add-to-app samples build and pass tests with the beta
56
56
# channel.
Original file line number Diff line number Diff line change
1
+ name : Test Android Build
2
+
3
+ # Declare default permissions as read only.
4
+ permissions : read-all
5
+
6
+ on :
7
+ push :
8
+ branches : [beta]
9
+ pull_request :
10
+ branches : [beta]
11
+ workflow_dispatch :
12
+
13
+ defaults :
14
+ run :
15
+ shell : bash
16
+
17
+ jobs :
18
+ android-build :
19
+ runs-on : ubuntu-latest
20
+ if : github.repository == 'flutter/samples'
21
+ steps :
22
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
23
+ - uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
24
+ with :
25
+ distribution : ' zulu'
26
+ java-version : ' 17'
27
+ - uses : subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
28
+ with :
29
+ channel : stable
30
+ - run : ./tool/android_ci_script.sh
Original file line number Diff line number Diff line change
1
+ name : Test iOS Build
2
+
3
+ # Declare default permissions as read only.
4
+ permissions : read-all
5
+
6
+ on :
7
+ push :
8
+ branches : [beta]
9
+ pull_request :
10
+ branches : [beta]
11
+ workflow_dispatch :
12
+
13
+ defaults :
14
+ run :
15
+ shell : bash
16
+
17
+ jobs :
18
+ ios-build :
19
+ name : Test flutter beta channel
20
+ runs-on : macos-latest
21
+ if : github.repository == 'flutter/samples'
22
+ strategy :
23
+ fail-fast : false
24
+ steps :
25
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
26
+ - uses : actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
27
+ with :
28
+ distribution : ' zulu'
29
+ java-version : ' 17'
30
+ - uses : subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
31
+ with :
32
+ channel : beta
33
+ - run : ./tool/ios_ci_script.sh
Original file line number Diff line number Diff line change 36
36
with :
37
37
channel : ${{ matrix.flutter_version }}
38
38
- run : flutter pub get && dart tool/ci_script.dart
39
-
40
- # android-build:
41
- # runs-on: ubuntu-latest
42
- # if: github.repository == 'flutter/samples'
43
- # steps:
44
- # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
45
- # - uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
46
- # with:
47
- # distribution: 'zulu'
48
- # java-version: '17'
49
- # - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
50
- # with:
51
- # channel: stable
52
- # - run: ./tool/android_ci_script.sh
53
-
54
- # ios-build:
55
- # runs-on: macos-latest
56
- # if: github.repository == 'flutter/samples'
57
- # steps:
58
- # - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
59
- # - uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165
60
- # with:
61
- # distribution: 'zulu'
62
- # java-version: '17'
63
- # - uses: subosito/flutter-action@e938fdf56512cc96ef2f93601a5a40bde3801046
64
- # with:
65
- # channel: stable
66
- # - run: ./tool/ios_ci_script.sh
You can’t perform that action at this time.
0 commit comments