Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit affb2e5

Browse files
mschielmannMichal Schielmannel-dot
authored
Migrate to new publisher (#36)
* migrate-to - migrate to jreleaser for maven central release * migrate-to - provide public key * migrate-to - provide public key --------- Co-authored-by: Michal Schielmann <[email protected]> Co-authored-by: Krzysztof Bieroń <[email protected]>
1 parent b50df69 commit affb2e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ jobs:
2525

2626
- name: Execute JReleaser deploy
2727
env:
28+
JRELEASER_GPG_PUBLIC_KEY: ${{ secrets.MAVEN_PUBLIC_KEY }}
2829
JRELEASER_GPG_SECRET_KEY: ${{ secrets.MAVEN_SINGING_KEY }}
2930
JRELEASER_GPG_PASSPHRASE: ${{ secrets.MAVEN_SINGING_PASSWORD }}
3031
JRELEASER_MAVENCENTRAL_USERNAME: ${{ secrets.JRELEASER_MAVENCENTRAL_USERNAME }}
3132
JRELEASER_MAVENCENTRAL_PASSWORD: ${{ secrets.JRELEASER_MAVENCENTRAL_PASSWORD }}
32-
run: ./gradlew jreleaserDeploy -x test
33+
run: ./gradlew build jreleaserDeploy -x test
3334

3435
- name: Archive artifacts
3536
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)