Update android samples to target/compile android 35 and AGP/Gradle up… #1202
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@f2c4f6686ca8e8d6e6d0f28410eeef506ed66aff | |
- 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 |