Skip to content

Commit

Permalink
Updated CI action script
Browse files Browse the repository at this point in the history
Updated setup-java (with integrated Gradle cache) and checkout
  • Loading branch information
federicoiosue committed Oct 27, 2022
1 parent a4815c8 commit c8bc0e6
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ jobs:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-XX:MaxMetaspaceSize=1g"
steps:
- name: Checkout current develop branch
uses: actions/checkout@v1
- name: Setup JDK 11
uses: actions/setup-java@v1
uses: actions/checkout@v3
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
cache: 'gradle'
- name: Run unit/instrumentation tests and coverage generation
uses: reactivecircus/android-emulator-runner@v2
with:
Expand All @@ -26,4 +28,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: ./gradlew sonarqube -Dsonar.login="$SONAR_TOKEN"
run: ./gradlew sonarqube -Dsonar.login="$SONAR_TOKEN"

0 comments on commit c8bc0e6

Please sign in to comment.