Skip to content

Commit 7bd7417

Browse files
run ci
1 parent 5972833 commit 7bd7417

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/maven-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ jobs:
1111
packages: write
1212
steps:
1313
- uses: actions/checkout@v3
14+
- name: Import GPG Key
15+
run: |
16+
echo "$GPG_PRIVATE_KEY" | gpg --import
17+
echo "$GPG_PASSPHRASE" | gpg --batch --yes --passphrase-fd 0 --pinentry-mode loopback --edit-key KEY_ID trust
1418
- name: Set up Maven Central Repository
1519
uses: actions/setup-java@v3
1620
with:
17-
java-version: '8'
21+
java-version: '11'
1822
distribution: 'adopt'
1923
server-id: ossrh
2024
server-username: ${{ secrets.OSSRH_USERNAME }}
@@ -29,7 +33,7 @@ jobs:
2933
- name: Set up Java for publishing to GitHub Packages
3034
uses: actions/setup-java@v3
3135
with:
32-
java-version: '8'
36+
java-version: '11'
3337
distribution: 'adopt'
3438
server-id: github
3539
- name: Publish to GitHub Packages

0 commit comments

Comments
 (0)