Skip to content

Commit f237c07

Browse files
publishSigned configuration
1 parent 0e6e365 commit f237c07

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ jobs:
1818
java-version: 11
1919
cache: sbt
2020
- uses: sbt/setup-sbt@v1
21+
- name: Import GPG key
22+
id: import_gpg
23+
uses: crazy-max/ghaction-import-gpg@v5
24+
with:
25+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
26+
passphrase: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
2127
- name: Build and publish maven artifacts
22-
run: sbt "+clean; +publish"
28+
run: sbt "+clean; +publishSigned"
2329
- name: Setup buildx builder
2430
uses: docker/setup-buildx-action@v3
2531
with:

0 commit comments

Comments
 (0)