diff --git a/.github/workflows/build-dev-branches.yml b/.github/workflows/build-dev-branches.yml index 4adeb2f..bf7a42c 100644 --- a/.github/workflows/build-dev-branches.yml +++ b/.github/workflows/build-dev-branches.yml @@ -29,7 +29,7 @@ jobs: ./gradlew clean build --stacktrace --scan --console=plain --no-daemon ./gradlew codeCoverageReport --console=plain --no-daemon - name: Upload Coverage Report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true diff --git a/.github/workflows/build-main.yml b/.github/workflows/build-main.yml index bbe0804..38a479d 100644 --- a/.github/workflows/build-main.yml +++ b/.github/workflows/build-main.yml @@ -29,7 +29,7 @@ jobs: ./gradlew clean build publish --stacktrace --scan --console=plain --no-daemon ./gradlew codeCoverageReport --console=plain --no-daemon - name: Upload Coverage Report - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 with: fail_ci_if_error: true - name: Upload Artifacts diff --git a/.github/workflows/daily-build.yml b/.github/workflows/daily-build.yml index e1c1cba..8fd6ffc 100644 --- a/.github/workflows/daily-build.yml +++ b/.github/workflows/daily-build.yml @@ -25,6 +25,12 @@ jobs: packagePAT: ${{ secrets.GITHUB_TOKEN }} run: | ./gradlew clean build + ./gradlew codeCoverageReport --console=plain --no-daemon + + - name: Upload Coverage Report + uses: codecov/codecov-action@v4 + with: + fail_ci_if_error: true # Send notification when build fails - name: Notify failure