Skip to content

Commit

Permalink
Try to fix maven-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
filip26 committed Feb 16, 2024
1 parent 2c1302f commit ba65166
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
# git config user.name "GitHub Actions"
# echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Import GPG Key
uses: crazy-max/ghaction-import-gpg@v5.0.0
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
Expand Down
5 changes: 5 additions & 0 deletions pom_parent.xml
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,11 @@
</plugins>
</build>
<distributionManagement>
<repository>
<id>ossrh</id>
<name>Central Repository OSSRH</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
Expand Down

0 comments on commit ba65166

Please sign in to comment.