forked from flutter/samples
-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (63 loc) · 2.01 KB
/
beta.yml
File metadata and controls
67 lines (63 loc) · 2.01 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: Beta Branch CI
# Declare default permissions as read only.
permissions: read-all
on:
push:
branches: [beta]
pull_request:
branches: [beta]
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
# Run the stable test script on the beta channel. Since this branch will soon
# be merged into master as our stable-targeting code, this is the key thing we
# need to test.
stable-tests-on-beta:
runs-on: ${{ matrix.os }}
if: github.repository == 'flutter/samples'
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@f25a3a9f25bd5f4c5d77189cab02ff357b5aedeb
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
with:
distribution: 'zulu'
java-version: '12.x'
- uses: subosito/flutter-action@d8687e6979e8ef66d2b2970e2c92c1d8e801d7bf
with:
channel: beta
- run: ./tool/flutter_ci_script_stable.sh
# Verify the Android add-to-app samples build and pass tests with the beta
# channel.
android-build:
runs-on: ubuntu-latest
if: github.repository == 'flutter/samples'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
with:
distribution: 'zulu'
java-version: '12.x'
- uses: subosito/flutter-action@d8687e6979e8ef66d2b2970e2c92c1d8e801d7bf
with:
channel: beta
- run: ./tool/android_ci_script.sh
# Verify the iOS add-to-app samples build and pass tests with the beta
# channel.
ios-build:
runs-on: macos-latest
if: github.repository == 'flutter/samples'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-java@4fe61d24fe5472910b93bdeffb8aad49f979d862
with:
distribution: 'zulu'
java-version: '12.x'
- uses: subosito/flutter-action@d8687e6979e8ef66d2b2970e2c92c1d8e801d7bf
with:
channel: beta
- run: ./tool/ios_ci_script.sh