From 9ded4b99cdc100a3101ff9d22c4e737f13971c52 Mon Sep 17 00:00:00 2001 From: Romain Boisselle Date: Mon, 23 Sep 2024 21:06:32 +0200 Subject: [PATCH] build: fix sonatype auth --- .github/workflows/release.yml | 2 +- .github/workflows/snapshot.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3f8c0d..f4cbf1b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: runs-on: macOS-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 32eee5d..9e16d51 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -17,8 +17,8 @@ jobs: build-upload: runs-on: macOS-latest env: - SONATYPE_USERNAME: ${{ secrets.sonatype_username }} - SONATYPE_PASSWORD: ${{ secrets.sonatype_password }} + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_TOKEN_PASSWORD }} steps: - name: Setup uses: kosi-libs/kodein-internal-github-actions/setup@main