Skip to content

Commit

Permalink
ci: bump action versions and set java distro
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed Sep 25, 2024
1 parent 66dfdf7 commit d6a463e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: '11' # Use the required Java version for your project
distribution: 'temurin' # Use the required JDK distribution for your project

- name: Install Flutter
uses: subosito/flutter-action@v2
Expand All @@ -33,7 +34,7 @@ jobs:
run: flutter build apk --release # Add any additional flags you need

- name: Archive APK
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: flutter-apk
path: build/app/outputs/flutter-apk/app-release.apk # Adjust this path if necessary
Expand Down

0 comments on commit d6a463e

Please sign in to comment.