Skip to content

Commit f5a3ea9

Browse files
committed
Update github action server id central-portal-snapshots
1 parent 05843e3 commit f5a3ea9

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/merge-build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,12 @@ jobs:
4646
uses: whelk-io/maven-settings-xml-action@v14
4747
if: ${{ github.event.repository.fork == false }}
4848
with:
49-
repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]'
50-
servers: '[{ "id": "sonatype", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]'
49+
servers: '[{ "id": "central-portal-snapshots", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]'
5150

5251
- name: "Maven Build & Deploy Snapshot to Sonatype OSSRH"
5352
if: ${{ github.event.repository.fork == false }}
5453

55-
run: mvn -B -e deploy -DaltDeploymentRepository=sonatype::default::https://oss.sonatype.org/content/repositories/snapshots/
54+
run: mvn -B -e deploy -DaltDeploymentRepository=central-portal-snapshots
5655

5756
- name: "Maven Build"
5857
if: ${{ github.event.repository.fork == true }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.commonjava</groupId>
2424
<artifactId>commonjava</artifactId>
25-
<version>20</version>
25+
<version>21-SNAPSHOT</version>
2626
</parent>
2727

2828
<groupId>org.commonjava.indy</groupId>

0 commit comments

Comments
 (0)