diff --git a/.github/workflows/deploy-snapshots.yml b/.github/workflows/deploy-snapshots.yml index 403bf8e1..e5150d06 100644 --- a/.github/workflows/deploy-snapshots.yml +++ b/.github/workflows/deploy-snapshots.yml @@ -24,6 +24,12 @@ jobs: java-version: 17 maven-version: 3.9.9 cache-enabled: true + settings-servers: | + [{ + "id": "central", + "username": "${{ secrets.CENTRAL_USERNAME }}", + "password": "${{ secrets.CENTRAL_PASSWORD }}" + }] - name: Import GPG key uses: crazy-max/ghaction-import-gpg@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e47aa9c..5d6424df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,6 +21,12 @@ jobs: java-version: 17 maven-version: 3.9.9 cache-enabled: true + settings-servers: | + [{ + "id": "central", + "username": "${{ secrets.CENTRAL_USERNAME }}", + "password": "${{ secrets.CENTRAL_PASSWORD }}" + }] - name: Configure Git run: |