mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.2.1 to 4.2.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-java/releases">actions/setup-java's releases</a>.</em></p> <blockquote> <h2>v4.2.2</h2> <h2>What's Changed</h2> <h3> Bug fixes:</h3> <ul> <li>Fix macos latest check failures by <a href="https://github.com/HarithaVattikuti"><code>@HarithaVattikuti</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/634">actions/setup-java#634</a></li> <li>Fix dragonwell distribution parsing issues by <a href="https://github.com/Accelerator1996"><code>@Accelerator1996</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/643">actions/setup-java#643</a></li> </ul> <h3>Documentation changes</h3> <ul> <li>Update advanced documentation for java-version-file by <a href="https://github.com/mahabaleshwars"><code>@mahabaleshwars</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/622">actions/setup-java#622</a></li> </ul> <h3>Dependency updates:</h3> <ul> <li>Bump undici from 5.28.3 to 5.28.4 and other dependency updates by <a href="https://github.com/dependabot"><code>@dependabot</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/616">actions/setup-java#616</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-java/compare/v4...v4.2.2">https://github.com/actions/setup-java/compare/v4...v4.2.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="6a0805fcef"><code>6a0805f</code></a> Fix the bug about parsing dragonwell version (<a href="https://redirect.github.com/actions/setup-java/issues/642">#642</a>) (<a href="https://redirect.github.com/actions/setup-java/issues/643">#643</a>)</li> <li><a href="fd08b9c8dc"><code>fd08b9c</code></a> Bump undici from 5.28.3 to 5.28.4 (<a href="https://redirect.github.com/actions/setup-java/issues/616">#616</a>)</li> <li><a href="2e74cbce18"><code>2e74cbc</code></a> Fix versions check failures (<a href="https://redirect.github.com/actions/setup-java/issues/634">#634</a>)</li> <li><a href="a1c6c9c867"><code>a1c6c9c</code></a> Updated advanced-usage.md (<a href="https://redirect.github.com/actions/setup-java/issues/622">#622</a>)</li> <li>See full diff in <a href="99b8673ff6...6a0805fcef">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
75 lines
2.3 KiB
YAML
75 lines
2.3 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, master]
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
- uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
with:
|
|
channel: ${{ matrix.flutter_version }}
|
|
- run: ./tool/flutter_ci_script_${{ matrix.flutter_version }}.sh
|
|
web-samples-index:
|
|
name: web/samples_index config check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
- run: |
|
|
dart pub get
|
|
dart run grinder generate
|
|
working-directory: web/samples_index
|
|
android-build:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'flutter/samples'
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
- uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
with:
|
|
channel: stable
|
|
- run: ./tool/android_ci_script.sh
|
|
ios-build:
|
|
runs-on: macos-latest
|
|
if: github.repository == 'flutter/samples'
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
- uses: actions/setup-java@6a0805fcefea3d4657a47ac4c165951e33482018
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
with:
|
|
channel: stable
|
|
- run: ./tool/ios_ci_script.sh
|