Commit dbf2d02
Changed files (1)
.github
workflows
.github/workflows/app-CI.yml
@@ -40,8 +40,12 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: ${{ env.FLUTTER_CHANNEL }}
+ - name: Disable analytics
+ run: flutter config --no-analytics
- name: Generate mock code
- run: flutter pub run build_runner build
+ run: |
+ flutter pub get
+ flutter pub run build_runner build
working-directory: ./app
- name: Run tests
run: flutter test
@@ -128,6 +132,8 @@ jobs:
uses: subosito/flutter-action@v2
with:
channel: ${{ env.FLUTTER_CHANNEL }}
+ - name: Disable analytics
+ run: flutter config --no-analytics
- name: Build apk
run: flutter build apk --flavor github --debug
working-directory: ./app