We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586fc65 commit 1625147Copy full SHA for 1625147
.github/workflows/test-deploy.yml
@@ -13,6 +13,16 @@ jobs:
13
steps:
14
- uses: actions/checkout@v4
15
16
+ - name: Set up JDK
17
+ uses: actions/setup-java@v4
18
+ with: # running setup-java overwrites the settings.xml
19
+ distribution: 'temurin'
20
+ java-version: '17'
21
+ server-id: github-central
22
+ server-password: PACKAGES_CENTRAL_TOKEN
23
+ gpg-passphrase: MAVEN_GPG_PASSPHRASE
24
+ gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Only import once
25
+
26
- name: Publish to GitHub Packages
27
run: |
28
modules_block=$(grep -ozP '<modules>(\r|\n|.)*<\/modules>' 'pom.xml' | tr -d '\0')
0 commit comments