diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0eb8dc1b..aca6b12e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_CENTRAL_TOKEN - gpg-private-key: ${{ vars.SONATYPE_OSSRH_GPG_PRIVATE_KEY }} + gpg-private-key: ${{ secrets.SONATYPE_OSSRH_GPG_PRIVATE_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Install jq @@ -47,6 +47,7 @@ jobs: run: | mvn -B clean deploy -Prelease env: - MAVEN_USERNAME: ${{ vars.SONATYPE_OSSRH_USER }} - MAVEN_CENTRAL_TOKEN: ${{ vars.SONATYPE_OSSRH_PASSWORD }} - MAVEN_GPG_PASSPHRASE: ${{ vars.SONATYPE_OSSRH_GPG_KEY_PASSPHRASE }} + MAVEN_USERNAME: ${{ secrets.SONATYPE_OSSRH_USER }} + MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.SONATYPE_OSSRH_GPG_KEY_PASSPHRASE }} +