mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
* Bump subosito/flutter-action from 2.4.0 to 2.6.0
Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.4.0 to 2.6.0.
- [Release notes](https://github.com/subosito/flutter-action/releases)
- [Commits](d8687e6979...c30358aafe)
---
updated-dependencies:
- dependency-name: subosito/flutter-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* subosito/flutter-action 2.6.1
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
65 lines
2.0 KiB
YAML
65 lines
2.0 KiB
YAML
name: Main Branch CI
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 * * *" # Every day at midnight
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
flutter-tests:
|
|
name: Test Flutter ${{ matrix.flutter_version }} on ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
if: github.repository == 'flutter/samples'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
flutter_version: [stable, beta]
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
|
|
- uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '12.x'
|
|
- uses: subosito/flutter-action@6c2e035f2692eeac890d854df95630c72673f130
|
|
with:
|
|
channel: ${{ matrix.flutter_version }}
|
|
- run: ./tool/flutter_ci_script_${{ matrix.flutter_version }}.sh
|
|
android-build:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'flutter/samples'
|
|
steps:
|
|
- uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
|
|
- uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '12.x'
|
|
- uses: subosito/flutter-action@6c2e035f2692eeac890d854df95630c72673f130
|
|
with:
|
|
channel: stable
|
|
- run: ./tool/android_ci_script.sh
|
|
ios-build:
|
|
runs-on: macos-latest
|
|
if: github.repository == 'flutter/samples'
|
|
steps:
|
|
- uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
|
|
- uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '12.x'
|
|
- uses: subosito/flutter-action@6c2e035f2692eeac890d854df95630c72673f130
|
|
with:
|
|
channel: stable
|
|
- run: ./tool/ios_ci_script.sh
|