Skip to content

Commit

Permalink
Update build-apk.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLOCAL committed Nov 24, 2024
1 parent 26c90f6 commit cc612b4
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/build-apk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,7 @@ jobs:
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '8'

- name: Switch to Java 8
run: |
sudo update-alternatives --set java $(update-alternatives --list java | grep java-8-openjdk | awk '{print $3}')
java -version # Verify Java version
- name: Accept Android SDK licenses
run: yes | $ANDROID_SDK_ROOT/cmdline-tools/latest/bin/sdkmanager --licenses

java-version: '11'

- name: Install Flutter SDK
uses: subosito/flutter-action@v2
Expand Down

0 comments on commit cc612b4

Please sign in to comment.