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 eebe2f0 commit 0c6292eCopy full SHA for 0c6292e
.github/workflows/maven-publish.yml
@@ -42,6 +42,13 @@ jobs:
42
run: mvn --batch-mode deploy -s settings.xml
43
env:
44
GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
45
+ - name: Build with Maven
46
+ run: mvn -B package --file pom.xml
47
+ - name: Publish to GitHub Packages Apache Maven
48
+ run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
49
+ env:
50
+ GITHUB_TOKEN: ${{ secrets.GITHUBTOKEN }}
51
+
52
# - name: Maven Central Publish
53
# # You may pin to the exact commit or the version.
54
# # uses: zhoujunlin94/auto_deploy_maven_central@d008e8cc182d799a9fd507164f83c54be0b0a858
0 commit comments