diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index b946866..9ce6597 100644 --- a/.github/workflows/build_apk.yml +++ b/.github/workflows/build_apk.yml @@ -22,13 +22,14 @@ jobs: steps: # Setup Java environment in order to build the Android app. - - uses: actions/checkout@v2 - - uses: actions/setup-java@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 with: - java-version: '15' + distribution: 'temurin' + java-version: '20' # Setup the flutter environment. - - uses: subosito/flutter-action@v1 + - uses: subosito/flutter-action@v2 with: channel: 'stable' # 'dev', 'alpha', default to: 'stable' @@ -41,12 +42,10 @@ jobs: - name: Build APK working-directory: ./PixLeZ_Application run: | - flutter build apk --debug - flutter build apk --profile flutter build apk --release # Upload generated apk to the artifacts. - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: PixLeZ path: PixLeZ_Application/build/app/outputs/flutter-apk/app-release.apk