Trying to fix annoying bug in CD and Test Builds #151
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: Android CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
cache: gradle | |
- name: Flutter action | |
# You may pin to the exact commit or the version. | |
# uses: subosito/flutter-action@1c5eb12d812966ca84680edc38353a0851c8fd56 | |
uses: subosito/flutter-action@v2.14.0 | |
with: | |
flutter-version: 3.0.5 | |
- name: Buid APK | |
run: flutter build apk | |
- name: Upload Build | |
uses: actions/upload-artifact@v4.3.4 | |
with: | |
path: ./build/app/outputs/flutter-apk/app-release.apk |