File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 29
29
run : echo "RELEASE_VERSION=$(git describe --tags)" >> $GITHUB_ENV
30
30
31
31
- name : Publish to GitHub Packages Apache Maven
32
- run : mvn -B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= deploy -s ${{ github.workspace }}/settings.xml
32
+ run : mvn -Ppublish-github-packages - B -Drevision=${{ env.RELEASE_VERSION }} -Dsha1= -Dchangelist= deploy -s ${{ github.workspace }}/settings.xml
33
33
env :
34
34
GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 305
305
<repository >
306
306
<id >github</id >
307
307
<name >GitHub Packages</name >
308
- <url >https://maven.pkg.github.com/teragrep/jlt_01 </url >
308
+ <url >https://maven.pkg.github.com/${env.GITHUB_REPOSITORY} </url >
309
309
</repository >
310
310
</distributionManagement >
311
311
</profile >
You can’t perform that action at this time.
0 commit comments