Fix: أقشیمث ٰثقسهخد #8
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: Flutter Build APK | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
java-version: '12.x' | |
distribution: 'adopt' | |
- uses: subosito/flutter-action@v2 | |
with: | |
channel: 'stable' | |
- run: flutter pub get | |
# - run: flutter format --set-exit-if-changed . | |
# - run: flutter analyze . | |
# - run: flutter build apk --release | |
- run: flutter build apk | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: release-apk | |
path: build/app/outputs/apk/release/app-release.apk |