diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c696f8d9..cb2050e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: needs: create-staging-repository runs-on: macOS-latest env: - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USER }} + 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 6527195e..22440f0b 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -24,8 +24,8 @@ jobs: - instrumentation-tests runs-on: macOS-latest env: - SONATYPE_USERNAME: ${{ secrets.sonatype_username }} - SONATYPE_PASSWORD: ${{ secrets.sonatype_password }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_TOKEN_USER }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }} steps: - name: Setup uses: kosi-libs/kodein-internal-github-actions/setup@main