Skip to content

Commit b7e7f89

Browse files
author
JeanMarc van Leerdam
committed
Are we properly setting the gpg key?
1 parent 9886ec3 commit b7e7f89

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616
java-version: 17
1717
gpg-private-key: ${{ secrets.PGP_SECRET }}
1818
gpg-passphrase: PGP_PASSPHRASE
19+
env:
20+
PGP_ID: ${{ secrets.PGP_ID }}
21+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
1922
- uses: sbt/setup-sbt@v1
2023
- run: sbt ci-release
2124
env:

.github/workflows/scala.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,22 @@ jobs:
2020
with:
2121
distribution: temurin
2222
java-version: 17
23+
gpg-private-key: ${{ secrets.PGP_SECRET }}
24+
gpg-passphrase: PGP_PASSPHRASE
25+
env:
26+
PGP_ID: ${{ secrets.PGP_ID }}
27+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2328
- uses: sbt/setup-sbt@v1
29+
- name: ShowSome
30+
shell: bash
31+
run: |
32+
echo "PGP_ID = " $PGP_ID
33+
echo "Available keys:"
34+
gpg --list-secret-keys --keyid-format LONG
35+
env:
36+
PGP_ID: ${{ secrets.PGP_ID }}
37+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
38+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
2439
- name: Run tests
2540
shell: bash
2641
run: sbt test

0 commit comments

Comments
 (0)