From ded8e545b93ad4e80e6784667afbb1a5090a28f4 Mon Sep 17 00:00:00 2001 From: SkytAsul Date: Thu, 27 Jun 2024 09:29:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fixed=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/maven-build.yml | 4 ---- .github/workflows/maven-publish.yml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml index c61c938..d6a7044 100755 --- a/.github/workflows/maven-build.yml +++ b/.github/workflows/maven-build.yml @@ -23,9 +23,5 @@ jobs: distribution: 'temurin' cache: maven - - uses: s4u/maven-settings-action@v3.0.0 - with: - servers: '[{"id": "central", "username": "${{ secrets.CENTRAL_USERNAME }}", "password": "${{ secrets.CENTRAL_PASSWORD }}"}]' - - name: Build with Maven run: mvn -B package --file pom.xml diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index e441a07..e1e753d 100755 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -23,7 +23,7 @@ jobs: - uses: s4u/maven-settings-action@v3.0.0 with: - servers: '[{"id": "central", "username": "${{ secrets.CENTRAL_USERNAME }}", "password": "${{ secrets.CENTRAL_PASSWORD }}"}]' + servers: '[{"id": "central", "username": "${{ secrets.CENTRAL_USERNAME }}", "password": "${{ secrets.CENTRAL_TOKEN }}"}]' - name: Build with Maven run: mvn -B package --file pom.xml