Skip to content

Commit d38019e

Browse files
committed
testing deploy action
1 parent a32f878 commit d38019e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/deploy-action.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,18 @@ jobs:
1616
- name: Install Java and Maven
1717
uses: actions/setup-java@v4
1818
with:
19-
java-version: 11
2019
distribution: 'zulu'
20+
java-version: 11
21+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
22+
gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
23+
24+
- name: Import GPG key
25+
run: |
26+
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --import
27+
echo "use-agent" >> ~/.gnupg/gpg.conf
28+
echo "pinentry-mode loopback" >> ~/.gnupg/gpg.conf
29+
echo "allow-loopback-pinentry" >> ~/.gnupg/gpg-agent.conf
30+
echo RELOADAGENT | gpg-connect-agent
2131
2232
- name: Test Maven package
2333
run: mvn -B test --file pom.xml

0 commit comments

Comments
 (0)