mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Bumps [subosito/flutter-action](https://github.com/subosito/flutter-action) from 2.16.0 to 2.17.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/subosito/flutter-action/releases">subosito/flutter-action's releases</a>.</em></p> <blockquote> <h2>v2.17.0</h2> <p>This release adds support for older <code>yq</code> versions, as added in PR <a href="https://redirect.github.com/subosito/flutter-action/issues/329">#329</a>. Thanks for contributing, <a href="https://github.com/ThomasAunvik"><code>@âThomasAunvik</code></a>!</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="74af56c5ed"><code>74af56c</code></a> Support older yq versions (<a href="https://redirect.github.com/subosito/flutter-action/issues/329">#329</a>)</li> <li><a href="9bc1d83fda"><code>9bc1d83</code></a> Remove macos-14 from matrix (<a href="https://redirect.github.com/subosito/flutter-action/issues/304">#304</a>)</li> <li><a href="bcec24ecf7"><code>bcec24e</code></a> Fix failing tests (<a href="https://redirect.github.com/subosito/flutter-action/issues/327">#327</a>)</li> <li><a href="94b32dd006"><code>94b32dd</code></a> test action: allow to run manually (<a href="https://redirect.github.com/subosito/flutter-action/issues/325">#325</a>)</li> <li>See full diff in <a href="44ac965b96...74af56c5ed">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>
39 lines
931 B
YAML
39 lines
931 B
YAML
name: Deploy to GitHub Pages
|
|
|
|
# Declare default permissions as read only.
|
|
permissions: read-all
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
jobs:
|
|
build-and-deploy:
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'flutter/samples'
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
|
with:
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- uses: subosito/flutter-action@74af56c5ed2697ba4621264652728e8d217e53d3
|
|
|
|
- name: Init scripts
|
|
run: dart pub get
|
|
working-directory: web/_tool
|
|
|
|
- name: Build
|
|
run: dart run _tool/build_ci.dart
|
|
working-directory: web
|
|
|
|
- name: Deploy
|
|
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
publish_dir: web/samples_index/public
|