Настройка сборки 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
image: maven:3.8.4-openjdk-11
commands:
- echo "${GPG_PRIVATE_KEY}" >> "gpg.key"
- echo "${TEST}" >> "test.key"
- echo ${GPG_PRIVATE_KEY} >> gpg.key
- echo ${TEST} >> 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
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy