diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml index 5154741..7647401 100644 --- a/.github/workflows/code_coverage.yml +++ b/.github/workflows/code_coverage.yml @@ -30,7 +30,8 @@ jobs: clickstream/build/reports/ clickstream/build/test-results/ - name: Upload Test Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: + token: ${{ secrets.CODECOV_TOKEN }} name: report files: clickstream/build/reports/jacoco/jacoco.xml \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8b42d0f..a4d30ed 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,8 +17,8 @@ jobs: cache: gradle - name: Config properties run: | - echo "nexusUsername=${{ vars.NEXUS_USERNAME }}" >> key.properties - echo "nexusPassword=${{ secrets.NEXUS_PASSWORD }}" >> key.properties + echo "ossrhUsername=${{ secrets.OSSRH_USERNAME }}" >> key.properties + echo "ossrhPassword=${{ secrets.OSSRH_PASSWORD }}" >> key.properties echo "signing.keyId=${{ vars.SIGNING_KEY_ID }}" >> key.properties echo "signing.password=${{ secrets.SIGNING_PASSWORD }}" >> key.properties echo "signing.inMemoryKey=${{ secrets.SIGNING_IN_MEMORY_KEY }}" >> key.properties diff --git a/publishing.gradle b/publishing.gradle index d800b42..0ac8dc3 100644 --- a/publishing.gradle +++ b/publishing.gradle @@ -81,8 +81,8 @@ afterEvaluate { project -> maven { url = "https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/" credentials { - username = keyProp.getProperty("nexusUsername") - password = keyProp.getProperty("nexusPassword") + username = keyProp.getProperty("ossrhUsername") + password = keyProp.getProperty("ossrhPassword") } } }