hide android add to app from CI #306
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 main 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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | |
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@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- uses: subosito/flutter-action@2783a3f08e1baf891508463f8c6653c258246225 | |
with: | |
channel: beta | |
- run: ./tool/ios_ci_script.sh |