diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e3df034..e0433b5e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,17 +24,17 @@ jobs: - name: Publish env: MAVEN_SIGNING_KEY: ${{ secrets.MAVEN_SIGNING_KEY }} - NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} - NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} NEXUS_SIGNING_PASSWORD: ${{ secrets.NEXUS_SIGNING_PASSWORD }} + MAVEN_USER_NAME: ${{ secrets.MAVEN_USER_NAME }} + MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} run: | echo $MAVEN_SIGNING_KEY | base64 --decode > signing.key cat << EOF > gradle.properties - myNexusUsername=${NEXUS_USERNAME} - myNexusPassword=${NEXUS_PASSWORD} signingPassword=${NEXUS_SIGNING_PASSWORD} + myNexusUsername=${MAVEN_USER_NAME} + myNexusPassword=${MAVEN_PASSWORD} EOF ./gradlew publishToMyNexus closeAndReleaseMyNexusStagingRepository -Prelease diff --git a/build.gradle.kts b/build.gradle.kts index 9149ead2..86d457c7 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ plugins { id("org.jetbrains.dokka") version "1.5.30" - id("io.github.gradle-nexus.publish-plugin") version "1.1.0" + id("io.github.gradle-nexus.publish-plugin") version "2.0.0" signing