File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <settings xmlns =' http://maven.apache.org/SETTINGS/1.0.0' xmlns : xsi =' http://www.w3.org/2001/XMLSchema-instance' xsi : schemaLocation =' http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd' >
2+ <servers >
3+ <server >
4+ <id >central</id >
5+ <username >${env.MAVEN_USERNAME}</username >
6+ <password >${env.MAVEN_PASSWORD}</password >
7+ </server >
8+ </servers >
9+ <profiles >
10+ <profile >
11+ <id >central</id >
12+ <activation >
13+ <activeByDefault >true</activeByDefault >
14+ </activation >
15+ <properties >
16+ <gpg .passphrase>${env.MAVEN_GPG_PASSPHRASE}</gpg .passphrase>
17+ </properties >
18+ </profile >
19+ </profiles >
20+ </settings >
Original file line number Diff line number Diff line change 2323 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2424
2525 - name : Build and publish with Maven
26- run : mvn --batch-mode clean deploy -DskipTests=true --file PgBulkInsert/pom.xml
26+ run : mvn --batch-mode clean deploy -Prelease - DskipTests=true --file PgBulkInsert/pom.xml -s .github/workflows/maven-settings .xml
2727 env :
2828 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
2929 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
You can’t perform that action at this time.
0 commit comments