Might be related to example app pub get #4
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: CI | |
on: push | |
jobs: | |
publish: | |
runs-on: buildjet-2vcpu-ubuntu-2204 | |
permissions: | |
id-token: write # Required for authentication using GitHub-signed OIDC token | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dart-lang/setup-dart@v1 | |
with: | |
sdk: "3.0.6" | |
- uses: flutter-actions/setup-flutter@v2 | |
with: | |
version: "3.10.6" | |
channel: "stable" | |
cache: true | |
cache-key: ${{ runner.tool_cache }}/flutter # optional, change this to force refresh cache | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
# Read https://whichjdk.com/#tldr to understand the difference between different distributions | |
# MacOS might be running openjdk 17 (https://whichjdk.com/#apple-silicon) but we want to run the latest LTS on Linux | |
distribution: temurin | |
java-version: 21 | |
- name: Build Android example app | |
run: cd example && flutter pub get && flutter build appbundle |