Skip to content

Commit

Permalink
Fix Github Builds (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRisenPhoenix authored Dec 20, 2023
1 parent a0c06df commit 8f4689f
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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

0 comments on commit 8f4689f

Please sign in to comment.