Skip to content

Commit

Permalink
chore: Updated to JDK 21
Browse files Browse the repository at this point in the history
Upload APK as artifact after build.

Signed-off-by: Your Name <your.email@example
.com>
Signed-off-by: Gabriel Fontán <[email protected]>
  • Loading branch information
BobbyESP committed Jul 29, 2024
1 parent e92dac3 commit f0f650d
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: set up JDK 17
- name: set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
cache: gradle

Expand All @@ -29,7 +29,15 @@ jobs:
echo "CLIENT_SECRET=${{ secrets.CLIENT_SECRET }}" >> local.properties
- uses: gradle/actions/setup-gradle@v3

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Build with Gradle
run: ./gradlew assembleFoss
run: ./gradlew assembleFoss

- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: Metadator-${{ github.sha }}.apk
path: app/build/outputs/apk/foss/*.apk

0 comments on commit f0f650d

Please sign in to comment.