Skip to content

Commit cf53d15

Browse files
authored
move key to secrets (#4)
1 parent d4f31fc commit cf53d15

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

.github/workflows/gradle-ci-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717

1818
- name: Prepare to publish
1919
run: |
20+
echo '${{secrets.GPG_KEY_CONTENTS}}' | base64 -d > publish_key.gpg
2021
gpg --quiet --batch --yes --decrypt --passphrase="${{secrets.SECRET_PASSPHRASE}}" \
2122
--output secret.gpg publish_key.gpg
2223
echo "::set-env name=RELEASE_VERSION::${GITHUB_REF:11}"

build.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,6 @@ publishing {
6969
}
7070
}
7171

72-
model {
73-
tasks.generatePomFileForMavenJavaPublication {
74-
destination = file("$buildDir/generated-pom.xml")
75-
}
76-
tasks.publishMavenJavaPublicationToMavenLocal {
77-
}
78-
}
79-
8072
def customizePom(pom) {
8173
pom.withXml {
8274
def root = asNode()

publish_key.gpg

-2.65 KB
Binary file not shown.

0 commit comments

Comments
 (0)