From f70d600491529d2852063ef32f832e9751dd6a5e Mon Sep 17 00:00:00 2001 From: Yevhen Vasyliev Date: Fri, 13 Oct 2023 13:23:01 +0300 Subject: [PATCH] tryfix #50 --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3661932..5287e1d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: steps: - name: Install gpg secret key run: | - cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import + cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY_V2 }}") | gpg --batch --import gpg --list-secret-keys --keyid-format LONG - name: Checkout uses: actions/checkout@v4 @@ -39,12 +39,12 @@ jobs: uses: actions/setup-java@v3 with: java-version: '8' - distribution: 'adopt' + distribution: 'temurin' cache: maven server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml server-username: MAVEN_USERNAME # env variable for username in deploy server-password: MAVEN_PASSWORD # env variable for token in deploy - gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} # Value of the GPG private key to import + gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY_V2 }} # Value of the GPG private key to import gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase - name: Publish to Central Repository env: