Add mayLaunch function #192
Workflow file for this run
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 for app-facing package | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
paths: | |
- 'flutter_custom_tabs/**' | |
- '!**.md' | |
pull_request: | |
paths: | |
- 'flutter_custom_tabs/**' | |
- '!**.md' | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- name: Get flutter dependencies | |
run: flutter pub get | |
working-directory: ./flutter_custom_tabs | |
- name: Check for any formatting issues in the code | |
run: dart format --set-exit-if-changed . | |
working-directory: ./flutter_custom_tabs | |
- name: Statically analyze the Dart code for any errors | |
run: flutter analyze . | |
working-directory: ./flutter_custom_tabs | |
- name: Run unit tests | |
run: flutter test | |
working-directory: ./flutter_custom_tabs | |
- name: Build example android app | |
run: flutter build apk --release | |
working-directory: ./flutter_custom_tabs/example | |
- name: Build example iOS app | |
run: flutter build ios --no-codesign | |
working-directory: ./flutter_custom_tabs/example |