File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- name : Publish jars to the GitHub maven repository
1+ name : Publish to Maven Central
22
33on :
44 workflow_dispatch :
2424 java-version : " 21"
2525 distribution : corretto
2626
27- - name : Publish package
27+ - name : Set version
28+ run : mvn versions:set -DnewVersion=${{ github.ref_name }}
29+
30+ - name : Publish
2831 run : mvn --batch-mode deploy
2932 env :
3033 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 3535 <properties >
3636 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
3737 <maven .compiler.release>8</maven .compiler.release>
38- <revision >0.1-alpha-6 </revision >
38+ <revision >dev </revision >
3939 <lombok .version>1.18.36</lombok .version>
4040 <snakeyaml .version>2.4</snakeyaml .version>
4141 <maven-clean-plugin .version>3.4.0</maven-clean-plugin .version>
You can’t perform that action at this time.
0 commit comments