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

This commit is contained in:
Struchkov Mark 2022-12-17 12:51:47 +03:00
parent 9015bb6f65
commit 082c18eecb

View File

@ -7,9 +7,8 @@ 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.txt" - echo "$GPG_PRIVATE_KEY" >> "gpg.key"
- echo "$MAVEN_SETTINGS" >> "maven-settings.xml" - echo "$MAVEN_SETTINGS" >> "maven-settings.xml"
- ls
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.txt - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.txt
- mvn --settings maven-settings.xml -U -P ossrh,release clean deploy - mvn --settings maven-settings.xml -U -P ossrh,release clean deploy