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

This commit is contained in:
Struchkov Mark 2022-12-17 12:54:02 +03:00
parent 9d24e3daad
commit 8fa55d0ea1

View File

@ -7,9 +7,9 @@ steps:
- name: publish
image: maven:3.8.4-openjdk-11
commands:
- echo "$GPG_PRIVATE_KEY" >> "gpg.key"
- echo "$MAVEN_SETTINGS" >> "maven-settings.xml"
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key
- echo "${GPG_PRIVATE_KEY}" >> "gpg.key"
- 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
trigger: