From 55c4ec0f1f27c15d0bc9f2a232bb9e6345fad88c Mon Sep 17 00:00:00 2001 From: Duckelekuuk Date: Tue, 29 Aug 2023 17:16:40 +0200 Subject: [PATCH] Fixed publish workflow --- .github/workflows/publish.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8519264..ce2bac9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -16,17 +16,8 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - overwrite-settings: true + - name: Publish package + run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} - MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - - uses: s4u/maven-settings-action@v2.8.0 - with: - servers: | - [{ - "id": "ossrh", - "username": "${{ secrets.OSSRH_USERNAME }}", - "password": "${{ secrets.OSSRH_TOKEN }}" - }] - - name: Publish package - run: mvn -Drevision=${{ github.event.release.tag_name }} --batch-mode deploy \ No newline at end of file + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} \ No newline at end of file