File tree Expand file tree Collapse file tree 4 files changed +5
-68
lines changed
Expand file tree Collapse file tree 4 files changed +5
-68
lines changed Original file line number Diff line number Diff line change 11# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
22# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
33
4- name : Maven Package
4+ name : Maven Package build
55
66on : [ push, pull_request ]
77
2626
2727 - name : Build with Maven
2828 run : mvn -B package --file pom.xml
29-
30- - name : Deploy to registry
31- env :
32- GH_MAVEN_REGISTRY_USER : ${{ secrets.PRIVATE_ACCESS_TOKEN_USER }}
33- GH_MAVEN_REGISTRY_ACCESS_TOKEN : ${{ secrets.PRIVATE_ACCESS_TOKEN }}
34- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35- run : mvn -s settings.xml deploy
Original file line number Diff line number Diff line change 11# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
22# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path
33
4- name : Maven Package
4+ name : Maven Package deploy
55
66on :
77 release :
2929 run : mvn -B package --file pom.xml
3030
3131 - name : Publish to GitHub Packages Apache Maven
32- run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
3332 env :
3433 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
34+ run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44 <groupId >org.globsframework</groupId >
55 <artifactId >saxstack</artifactId >
66 <packaging >jar</packaging >
7- <version >4.1-SNAPSHOT </version >
7+ <version >4.1</version >
88 <name >SAXStack</name >
99
1010 <dependencies >
1616 </dependency >
1717 </dependencies >
1818
19- <scm >
20- <connection >scm:git:git://github.com/MarcGuiot/saxstack.git</connection >
21- <developerConnection >scm:git:ssh://github.com:MarcGuiot/saxstack.git</developerConnection >
22- <url >https://github.com/MarcGuiot/saxstack.git</url >
23- </scm >
24-
2519 <distributionManagement >
2620 <repository >
2721 <id >github</id >
28- <name >GitHub Packages</name >
22+ <name >GitHub Globsframework Packages</name >
2923 <url >https://maven.pkg.github.com/${env.GITHUB_REPOSITORY} </url >
3024 </repository >
31- <snapshotRepository >
32- <id >github</id >
33- <name >GitHub Packages</name >
34- <url >https://maven.pkg.github.com/${env.GITHUB_REPOSITORY} </url >
35- </snapshotRepository >
3625 </distributionManagement >
3726
3827 <licenses >
4231 </license >
4332 </licenses >
4433
45- <developers >
46- <developer >
47- <name >Marc Guiot</name >
48- <id >mguiot</id >
49- <email >marc.dudoignon@gmail.com</email >
50- <timezone >+1</timezone >
51- </developer >
52- <developer >
53- <name >Regis Medina</name >
54- <id >rmedina</id >
55- <email >regis@regismedina.com</email >
56- <timezone >+1</timezone >
57- </developer >
58- </developers >
59-
6034 <build >
6135 <plugins >
6236 <plugin >
You can’t perform that action at this time.
0 commit comments