Skip to content

Commit

Permalink
Fixes android.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LloydBlv committed Feb 23, 2024
1 parent 3db511a commit 391257b
Showing 1 changed file with 28 additions and 4 deletions.
32 changes: 28 additions & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,39 @@ jobs:
runs-on: ubuntu-latest

steps:

- uses: actions/checkout@v3
- name: set up JDK 11
uses: actions/setup-java@v3


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

- uses: gradle/gradle-build-action@v3
with:
cache-disabled: true

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

- name: Build debug with Gradle
run: ./gradlew :app:buildDebug

- name: Upload build outputs
if: always()
uses: actions/upload-artifact@v4
with:
name: android-build-outputs
path: android-app/app/build/outputs


- name: Upload reports
if: always()
uses: actions/upload-artifact@v4
with:
name: android-reports
path: |
**/build/reports/*

0 comments on commit 391257b

Please sign in to comment.