File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,14 @@ jobs:
24
24
run : mvn -B package --file pom.xml
25
25
26
26
- name : Publish to GitHub Packages
27
- run : |
28
- mvn deploy:deploy-file \
29
- -DgroupId=com.github.${{ github.repository_owner }} \
30
- -DartifactId=ShellApiLogOptimizer \
31
- -Dversion=0.0.1-SNAPSHOT \
32
- -Dpackaging=jar \
33
- -Dfile=target/ShellApiLogOptimizer-0.0.1-SNAPSHOT.jar \
34
- -DrepositoryId=github \
35
- -Durl=https://maven.pkg.github.com/${{ github.repository }} \
36
- -DgeneratePom=true
27
+ uses : actions/setup-java@v4
28
+ with :
29
+ java-version : ' 11'
30
+ distribution : ' temurin'
31
+ server-id : github
32
+ settings-path : ${{ github.workspace }}
33
+
34
+ - name : Publish package
35
+ run : mvn --batch-mode deploy
37
36
env :
38
37
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments