File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,23 @@ jobs:
1616 packages : write
1717
1818 steps :
19- - uses : actions/checkout@v4
19+ - uses : actions/checkout@v4
20+
21+
2022 - name : Set up JDK 11
21- uses : actions/setup-java@v4
23+ uses : actions/setup-java@v4
24+
2225 with :
2326 java-version : ' 11'
2427 distribution : ' temurin'
25- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
26- settings-path : ${{ github.workspace }} # location for the settings.xml file
28+ server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
29+
2730
2831 - name : Build with Maven
2932 run : mvn -B package --file pom.xml
3033
3134 - name : Publish to GitHub Packages Apache Maven
32- run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
35+ run : mvn deploy -s ${{ secrets.MAVEN_SETTINGS_XML
36+
3337 env :
34- GITHUB_TOKEN : ${{ github.token }}
38+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments