We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ff2740 commit a18baa6Copy full SHA for a18baa6
1 file changed
.github/workflows/release.yml
@@ -32,6 +32,15 @@ jobs:
32
gpg-private-key: ${{ secrets.GPG_KEY }}
33
gpg-passphrase: MAVEN_GPG_PASSPHRASE
34
35
+ - name: Add snapshot server credentials
36
+ run: |
37
+ sed -i '/<\/servers>/i \
38
+ <server>\
39
+ <id>central-snapshots</id>\
40
+ <username>${env.MAVEN_USERNAME}</username>\
41
+ <password>${env.MAVEN_PASSWORD}</password>\
42
+ </server>' ~/.m2/settings.xml
43
+
44
- name: Configure GPG
45
run: |
46
echo "use-agent" >> ~/.gnupg/gpg.conf
0 commit comments