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.3.0 to 4.4.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.4.0</h2> <h2>What's Changed</h2> <p><strong>Add-ons :</strong></p> <ul> <li>Add support for Oracle GraalVM by <a href="https://github.com/fniephaus"><code>@âfniephaus</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/501">actions/setup-java#501</a></li> </ul> <pre><code>steps: - name: Checkout uses: actions/checkout@v4 - name: Setup-java uses: actions/setup-java@v4 with: distribution: 'graalvm' java-version: '21' </code></pre> <ul> <li>Add workflow file for publishing releases to immutable action package by <a href="https://github.com/Jcambass"><code>@âJcambass</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/684">actions/setup-java#684</a></li> </ul> <p><strong>Bug fixes :</strong></p> <ul> <li>Add architecture to cache key by <a href="https://github.com/Zxilly"><code>@âZxilly</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/664">actions/setup-java#664</a> This addresses issues with caching by adding the architecture (arch) to the cache key, ensuring that cache keys are accurate to prevent conflicts. Note: This change may break previous cache keys as they will no longer be compatible with the new format.</li> <li>Resolve check failures by <a href="https://github.com/aparnajyothi-y"><code>@âaparnajyothi-y</code></a> in <a href="https://redirect.github.com/actions/setup-java/pull/687">actions/setup-java#687</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Jcambass"><code>@âJcambass</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/684">actions/setup-java#684</a></li> <li><a href="https://github.com/Zxilly"><code>@âZxilly</code></a> made their first contribution in <a href="https://redirect.github.com/actions/setup-java/pull/664">actions/setup-java#664</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/actions/setup-java/compare/v4...v4.4.0">https://github.com/actions/setup-java/compare/v4...v4.4.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="b36c23c0d9"><code>b36c23c</code></a> check-dist-failure-fix (<a href="https://redirect.github.com/actions/setup-java/issues/687">#687</a>)</li> <li><a href="40b9536ce5"><code>40b9536</code></a> fix: add arch to cache key (<a href="https://redirect.github.com/actions/setup-java/issues/664">#664</a>)</li> <li><a href="0a40ce6f61"><code>0a40ce6</code></a> Add support for Oracle GraalVM (<a href="https://redirect.github.com/actions/setup-java/issues/501">#501</a>)</li> <li><a href="bcfbca5b71"><code>bcfbca5</code></a> Merge pull request <a href="https://redirect.github.com/actions/setup-java/issues/684">#684</a> from actions/Jcambass-patch-1</li> <li><a href="78eae7945c"><code>78eae79</code></a> Add workflow file for publishing releases to immutable action package</li> <li>See full diff in <a href="2dfa2011c5...b36c23c0d9">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>
70 lines
2.1 KiB
YAML
70 lines
2.1 KiB
YAML
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@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
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@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
# - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
|
|
# with:
|
|
# distribution: 'zulu'
|
|
# java-version: '17'
|
|
# - uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
# 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@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
- uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73
|
|
with:
|
|
distribution: 'zulu'
|
|
java-version: '17'
|
|
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
|
|
with:
|
|
channel: beta
|
|
- run: ./tool/ios_ci_script.sh
|