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.2 to 4.3.0. <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.3.0</h2> <p>What's Changed</p> <ul> <li>Add support for SapMachine JDK/JRE by <a href="https://github.com/Shegox"><code>@âShegox</code></a> in <a href="https://redirect.github.com/actions/setup-java/issues/614">#614</a></li> </ul> <pre lang="yaml"><code>steps: - name: Checkout uses: actions/checkout@v4 - name: Setup-java uses: actions/setup-java@v4 with: distribution: âsapmachineâ java-version: â21â </code></pre> <p>Bug fixes :</p> <ul> <li> <pre><code>Fix typos on Corretto by @johnshajiang in [#666](https://github.com/actions/setup-java/issues/666) </code></pre> </li> <li> <pre><code>IBM Semeru Enhancement on arm64 by @mahabaleshwars in [#677](https://github.com/actions/setup-java/issues/677) </code></pre> </li> <li> <pre><code>Resolve Basic Validation Check Failures by @aparnajyothi-yâ¨Â in [#682](https://github.com/actions/setup-java/issues/682) </code></pre> </li> </ul> <p>New Contributors :</p> <ul> <li> <pre><code>@johnshajiang made their first contribution in [#666](https://github.com/actions/setup-java/issues/666) </code></pre> </li> <li> <pre><code>@Shegox made their first contribution in [#614](https://github.com/actions/setup-java/issues/614) </code></pre> </li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-java/compare/v4...v4.3.0">https://github.com/actions/setup-java/compare/v4...v4.3.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="2dfa2011c5"><code>2dfa201</code></a> basic validation failure fix (<a href="https://redirect.github.com/actions/setup-java/issues/682">#682</a>)</li> <li><a href="7467385c61"><code>7467385</code></a> feat: add support for SapMachine JDK/JRE (<a href="https://redirect.github.com/actions/setup-java/issues/614">#614</a>)</li> <li><a href="8e04ddff28"><code>8e04ddf</code></a> Update Error Messages and Fix Architecture Detection for IBM Semeru (<a href="https://redirect.github.com/actions/setup-java/issues/677">#677</a>)</li> <li><a href="67fbd726da"><code>67fbd72</code></a> Fix typos on Corretto (<a href="https://redirect.github.com/actions/setup-java/issues/665">#665</a>) (<a href="https://redirect.github.com/actions/setup-java/issues/666">#666</a>)</li> <li>See full diff in <a href="6a0805fcef...2dfa2011c5">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`. --- <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>
78 lines
2.4 KiB
YAML
78 lines
2.4 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@2dfa2011c5b2a0f1489bf9e433881c92c1631f88
|
|
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@2dfa2011c5b2a0f1489bf9e433881c92c1631f88
|
|
# 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@2dfa2011c5b2a0f1489bf9e433881c92c1631f88
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
with:
|
|
channel: stable
|
|
- run: ./tool/ios_ci_script.sh
|