diff --git a/.github/workflows/Dev_CI.yml b/.github/workflows/Dev_CI.yml index 8a12741..ff29109 100644 --- a/.github/workflows/Dev_CI.yml +++ b/.github/workflows/Dev_CI.yml @@ -1,11 +1,14 @@ name: dev-ci on: + push: + branches: + - chore/#20 pull_request: branches: - develop -permissions: write-all +#permissions: write-all jobs: build-and-push: @@ -23,16 +26,8 @@ jobs: java-version: '17' distribution: 'temurin' - - name: Cache Gradle dependencies - uses: actions/cache@v4 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: | - ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 - name: Grant Permission run: chmod +x ./gradlew @@ -55,6 +50,7 @@ jobs: - name: Report test Coverage to PR id: jacoco uses: madrapps/jacoco-report@v1.6.1 + if: always() with: title: 📝 Test Coverage Report paths: ${{ github.workspace }}/build/reports/jacoco/test/jacocoTestReport.xml