File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed
Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ tags :
6+ - " v*"
7+
8+ jobs :
9+ deploy :
10+ name : Deploy Maven Package
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v2
15+ - name : Set up JDK 17
16+ uses : actions/setup-java@v2
17+ with :
18+ java-version : " 17"
19+ distribution : " adopt"
20+ server-id : github
21+ settings-path : ${{ github.workspace }}
22+ - name : Build with Maven
23+ run : mvn clean package
24+ - name : Publish to GitHub Packages Apache Maven
25+ run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
26+ env :
27+ GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 55 <modelVersion >4.0.0</modelVersion >
66
77 <groupId >org.codegame</groupId >
8- <artifactId >codegame- client</artifactId >
8+ <artifactId >client</artifactId >
99 <version >0.1.0</version >
1010
1111 <name >CodeGame Client</name >
107107 </plugins >
108108 </pluginManagement >
109109 </build >
110+ <distributionManagement >
111+ <repository >
112+ <id >github</id >
113+ <name >CodeGame java-client</name >
114+ <url >https://maven.pkg.github.com/code-game-project/java-client</url >
115+ </repository >
116+ </distributionManagement >
110117</project >
You can’t perform that action at this time.
0 commit comments