diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c337b86..6184504 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: with: base_url: https://s01.oss.sonatype.org/service/local/ username: ${{ secrets.SONATYPE_USERNAME }} - password: ${{ secrets.SONATYPE_PASSWORD }} + password: ${{ secrets.SONATYPE_TOKEN_PASSWORD }} staging_profile_id: ${{ secrets.SONATYPE_PROFILE_ID }} description: ${{ github.repository }}/${{ github.workflow }}#${{ github.run_number }} @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }} GPG_PRIVATE_KEY: ${{ secrets.PGP_SIGNING_KEY }} GPG_PRIVATE_PASSWORD: ${{ secrets.PGP_SIGNING_PASSWORD }} steps: diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 6d82ac3..748b981 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -15,7 +15,7 @@ on: env: SONATYPE_USERNAME: ${{ secrets.sonatype_username }} - SONATYPE_PASSWORD: ${{ secrets.sonatype_password }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }} jobs: build-upload: