File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 2323 echo RELOADAGENT | gpg-connect-agent
2424 echo -e "pinentry-mode loopback\n" >> ~/.gnupg/gpg.conf
2525
26+ - name : Set up Maven Central settings
27+ run : |
28+ mkdir -p ~/.m2
29+ cat <<EOF > ~/.m2/settings.xml
30+ <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
31+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
32+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
33+ <servers>
34+ <server>
35+ <id>central</id>
36+ <username>${{ secrets.MAVEN_CENTRAL_USERNAME }}</username>
37+ <password>${{ secrets.MAVEN_CENTRAL_TOKEN }}</password>
38+ </server>
39+ </servers>
40+ </settings>
41+ EOF
42+
2643 - name : Build with Maven
2744 run : |
2845 mvn clean deploy -Dgpg.passphrase=$GPG_PASSPHRASE \
You can’t perform that action at this time.
0 commit comments