File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 with :
2222 java-version : ' 17'
2323 distribution : ' adopt'
24- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
24+ server-id : github-globsframework # Value of the distributionManagement/repository/id field of the pom.xml
2525 settings-path : ${{ github.workspace }} # location for the settings.xml file
2626
2727 - name : Build with Maven
28- run : mvn -B package --file pom.xml
28+ run : mvn -B package
Original file line number Diff line number Diff line change @@ -22,13 +22,13 @@ jobs:
2222 with :
2323 java-version : ' 17'
2424 distribution : ' adopt'
25- server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
25+ server-id : github-globsframework # Value of the distributionManagement/repository/id field of the pom.xml
2626 settings-path : ${{ github.workspace }} # location for the settings.xml file
2727
2828 - name : Build with Maven
29- run : mvn -B package --file pom.xml
29+ run : mvn -B package
3030
3131 - name : Publish to GitHub Packages Apache Maven
3232 env :
3333 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34- run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
34+ run : mvn deploy
Original file line number Diff line number Diff line change 1111 <dependency >
1212 <groupId >junit</groupId >
1313 <artifactId >junit</artifactId >
14- <version >4.12 </version >
14+ <version >4.13.2 </version >
1515 <scope >test</scope >
1616 </dependency >
1717 </dependencies >
1818
1919 <distributionManagement >
2020 <repository >
21- <id >github</id >
21+ <id >github-globsframework </id >
2222 <name >GitHub Globsframework Packages</name >
2323 <url >https://maven.pkg.github.com/${env.GITHUB_REPOSITORY} </url >
2424 </repository >
Original file line number Diff line number Diff line change 22 xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/settings-1.1.0.xsd" >
33 <servers >
44 <server >
5- <id >github</id >
5+ <id >github-globsframework </id >
66 <username >${env.GITHUB_ACTOR}</username >
77 <password >${env.GITHUB_TOKEN}</password >
88 </server >
You can’t perform that action at this time.
0 commit comments