Skip to content

Commit 9280b20

Browse files
committed
gemini approach
1 parent 3465683 commit 9280b20

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,22 @@ jobs:
4646
- uses: actions/setup-java@v4
4747
with:
4848
distribution: temurin
49-
java-version: 17
49+
java-version: 22
5050
- uses: sbt/setup-sbt@v1
5151

5252
- name: coursier-cache
5353
uses: coursier/cache-action@v6
5454

55+
- name: Import GPG key
56+
uses: crazy-max/ghaction-import-gpg@v6
57+
with:
58+
gpg_private_key: ${{ secrets.PGP_SECRET }}
59+
passphrase: ${{ secrets.PGP_PASSPHRASE }}
60+
5561
- name: Publish artifacts
5662
env:
5763
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
5864
PGP_SECRET: ${{ secrets.PGP_SECRET }}
5965
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
6066
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
61-
GPG_TTY: $(tty)
6267
run: sbt ci-release

0 commit comments

Comments
 (0)