Skip to content

Commit

Permalink
Fixes maven-publish workflow (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Jan 30, 2023
1 parent 0d15bfb commit e41dbd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
run: echo "RELEASE_VERSION=$(git describe --tags)" >> $GITHUB_ENV

- name: Publish to GitHub Packages Apache Maven
run: mvn -B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= deploy -s ${{ github.workspace }}/settings.xml
run: mvn -Ppublish-github-packages -B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= deploy -s ${{ github.workspace }}/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/teragrep/jlt_01</url>
<url>https://maven.pkg.github.com/${env.GITHUB_REPOSITORY}</url>
</repository>
</distributionManagement>
</profile>
Expand Down

0 comments on commit e41dbd0

Please sign in to comment.