Try to remove shake icons #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
# This workflow uses actions that are not certified by GitHub. | |
# They are provided by a third-party and are governed by | |
# separate terms of service, privacy policy, and support | |
# documentation. | |
name: build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'zulu' | |
java-version: '11' | |
- uses: subosito/flutter-action@v2 | |
with: | |
flutter-version: '3.16.5' | |
- name: Disable analytics | |
run: flutter --disable-analytics | |
working-directory: src/pocket_note | |
- name: Generate code from annotations, and libraries | |
run: dart run build_runner build --delete-conflicting-outputs | |
working-directory: src/pocket_note | |
- name: Build | |
run: flutter build apk | |
working-directory: src/pocket_note | |
- name: Run unit tests | |
run: flutter test | |
working-directory: src/pocket_note | |
- name: Deploy to Firebase App Distribution | |
uses: wzieba/Firebase-Distribution-Github-Action@v1 | |
with: | |
appId: ${{secrets.FIREBASE_APP_ID}} | |
token: ${{secrets.FIREBASE_TOKEN}} | |
serviceCredentialsFileContent: ${{secrets.CREDENTIAL_FILE_CONTENT}} | |
groups: testers | |
file: src/pocket_note/build/app/outputs/apk/release/app-release.apk |