diff --git a/.github/workflows/gradle-ci-publish.yml b/.github/workflows/gradle-ci-publish.yml index c297fa6..d9ba54c 100644 --- a/.github/workflows/gradle-ci-publish.yml +++ b/.github/workflows/gradle-ci-publish.yml @@ -17,6 +17,7 @@ jobs: - name: Prepare to publish run: | + echo '${{secrets.GPG_KEY_CONTENTS}}' | base64 -d > publish_key.gpg gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.SECRET_PASSPHRASE}}" \ --output secret.gpg publish_key.gpg echo "::set-env name=RELEASE_VERSION::${GITHUB_REF:11}" diff --git a/build.gradle b/build.gradle index 5dcfe04..5e4842c 100644 --- a/build.gradle +++ b/build.gradle @@ -69,14 +69,6 @@ publishing { } } -model { - tasks.generatePomFileForMavenJavaPublication { - destination = file("$buildDir/generated-pom.xml") - } - tasks.publishMavenJavaPublicationToMavenLocal { - } -} - def customizePom(pom) { pom.withXml { def root = asNode() diff --git a/publish_key.gpg b/publish_key.gpg deleted file mode 100644 index 3bd29a5..0000000 Binary files a/publish_key.gpg and /dev/null differ