diff --git a/.github/workflows/maven-pr.yml b/.github/workflows/maven-pr.yml index dbe33438e4..c1ef6fd3e3 100644 --- a/.github/workflows/maven-pr.yml +++ b/.github/workflows/maven-pr.yml @@ -22,7 +22,7 @@ jobs: cache: maven overwrite-settings: false - name: Add Central-Portal snapshot repo to settings.xml - uses: s4u/maven-settings-action@v3.1.0 + uses: s4u/maven-settings-action@v4.0.0 with: repositories: '[{"id":"central-portal-snapshots","name":"Sonatype Central Portal snapshots","url":"https://central.sonatype.com/repository/maven-snapshots/","releases":{"enabled":false},"snapshots":{"enabled":true}}]' servers: '[{"id":"central","username":"${{ secrets.MAVEN_CENTRAL_USERNAME }}","password":"${{ secrets.MAVEN_CENTRAL_PASSWORD }}"}]' diff --git a/.github/workflows/maven-push.yml b/.github/workflows/maven-push.yml index a7f391c970..3d938a836e 100644 --- a/.github/workflows/maven-push.yml +++ b/.github/workflows/maven-push.yml @@ -26,7 +26,7 @@ jobs: cache: maven overwrite-settings: false - name: Add Central-Portal snapshot repo to settings.xml - uses: s4u/maven-settings-action@v3.1.0 + uses: s4u/maven-settings-action@v4.0.0 with: repositories: '[{"id":"central-portal-snapshots","name":"Sonatype Central Portal snapshots","url":"https://central.sonatype.com/repository/maven-snapshots/","releases":{"enabled":false},"snapshots":{"enabled":true}}]' servers: '[{"id":"central","username":"${{ secrets.MAVEN_CENTRAL_USERNAME }}","password":"${{ secrets.MAVEN_CENTRAL_PASSWORD }}"}]'