diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 4f1dae4cb..5d55506ec 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -18,7 +18,7 @@ jobs: java-version: 17 - name: Cache Gradle and wrapper - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.gradle/caches diff --git a/scripts/publish-root.gradle b/scripts/publish-root.gradle index 0e88a11c6..e26354c76 100644 --- a/scripts/publish-root.gradle +++ b/scripts/publish-root.gradle @@ -36,6 +36,8 @@ if (snapshot) { nexusPublishing { repositories { sonatype { + nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/")) + snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/")) stagingProfileId = sonatypeStagingProfileId username = ossrhUsername password = ossrhPassword