Skip to content

Commit 75f2f24

Browse files
author
Tim Evdokimov
committed
github action for sonatype publishing
1 parent d6942cc commit 75f2f24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: actions/setup-java@v4
3434
with:
3535
distribution: temurin
36-
java-version: '17'
36+
java-version: '21'
3737
cache: sbt
3838

3939
- name: Cache Ivy and Coursier
@@ -48,7 +48,7 @@ jobs:
4848
${{ runner.os }}-sbt-
4949
5050
- name: Import GPG private key
51-
if: secrets.GPG_PRIVATE_KEY != ''
51+
if: ${{ secrets.GPG_SECRET != '' }}
5252
shell: bash
5353
run: |
5454
mkdir -p ~/.gnupg
@@ -57,7 +57,7 @@ jobs:
5757
echo "use-agent" >> ~/.gnupg/gpg.conf
5858
printf "%s" "${GPG_PRIVATE_KEY}" | gpg --batch --import
5959
env:
60-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
60+
GPG_SECRET: ${{ secrets.GPG_SECRET }}
6161

6262
- name: Show GPG keys (debug)
6363
if: always()

0 commit comments

Comments
 (0)