Skip to content

Commit

Permalink
Update gradle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
niyatanya authored Apr 15, 2024
1 parent 0e7d312 commit f81b824
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Java CI

on:
Expand All @@ -10,22 +9,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: '17'
java-version: '20'
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@v2
with:
gradle-version: 8.3
arguments: build
build-root-directory: app
- name: Publish code coverage
uses: paambaati/codeclimate-action@v2.7.1
uses: paambaati/codeclimate-action@v5.0.0
env:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
JACOCO_SOURCE_PATH: ./app/src/main/java
JACOCO_SOURCE_PATH: app/src/main/java
with:
coverageCommand: make report
coverageLocations: ${{github.workspace}}/app/build/reports/jacoco/test/jacocoTestReport.xml:jacoco

0 comments on commit f81b824

Please sign in to comment.