Настройка сборки drone
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2022-12-17 12:55:32 +03:00
parent a28d6bcd1f
commit c19d42770a

View File

@ -7,10 +7,10 @@ steps:
- name: publish - name: publish
image: maven:3.8.4-openjdk-11 image: maven:3.8.4-openjdk-11
commands: commands:
- echo "${GPG_PRIVATE_KEY}" >> "gpg.key" - echo ${GPG_PRIVATE_KEY} >> gpg.key
- echo "${TEST}" >> "test.key" - echo ${TEST} >> test.key
- cat test.key - cat test.key
- echo "${MAVEN_SETTINGS}" >> "maven-settings.xml" - echo "${MAVEN_SETTINGS}" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase ${GPG_PASSPHRASE} --import gpg.key - gpg --pinentry-mode loopback --passphrase ${GPG_PASSPHRASE} --import gpg.key
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy - mvn --settings maven-settings.xml -U -P ossrh,release clean deploy