From 8f4689f50cf1b1cf65af958d2317d1649e4e11fa Mon Sep 17 00:00:00 2001 From: Timo <43245438+TheRisenPhoenix@users.noreply.github.com> Date: Wed, 20 Dec 2023 22:11:58 +0100 Subject: [PATCH] Fix Github Builds (#23) --- .github/workflows/build_apk.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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