diff --git a/.github/workflows/merge-build.yml b/.github/workflows/merge-build.yml index 4b89d20..f4ea0a5 100644 --- a/.github/workflows/merge-build.yml +++ b/.github/workflows/merge-build.yml @@ -49,16 +49,11 @@ jobs: if: ${{ github.event.repository.fork == false }} with: repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]' - servers: '[{ "id": "sonatype", "username": "${{ secrets.SONATYPE_BOT_USERNAME}}", "password": "${{ secrets.SONATYPE_BOT_TOKEN}}" }]' - name: "Maven Verify" if: ${{ github.event.repository.fork == true }} run: mvn -B -e verify - - name: "Maven Build & Deploy Snapshot to Sonatype OSSRH" - if: ${{ github.event.repository.fork == false }} - run: mvn -B -e deploy -DaltDeploymentRepository=sonatype::default::https://oss.sonatype.org/content/repositories/snapshots/ - - name: Checkout tools repo uses: actions/checkout@v4 with: