Skip to content

Commit ad962d5

Browse files
committed
Updates
1 parent 60cfb52 commit ad962d5

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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>

.github/workflows/publish-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)