diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c3b835c..b5cc13f 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,7 +32,7 @@ jobs: run: mvn -B deploy env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }} - name: Make sure not changed (test case generates code, but should not change it) run: git diff --exit-code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 64aa4e2..2e2f319 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,6 +29,6 @@ jobs: run: mvn -Pdeploy --batch-mode -Darguments=-DskipTests release:prepare release:perform env: SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} - SONATYPE_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} GPG_SECRET_KEY_PASSPHRASE: ${{ secrets.GPG_SECRET_KEY_PASSPHRASE }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}