File tree Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Expand file tree Collapse file tree 3 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 31
31
run : mvn -B package --file pom.xml
32
32
33
33
- name : Publish to GitHub Packages Apache Maven
34
- run : mvn deploy -s $GITHUB_WORKSPACE/ settings.xml
34
+ run : mvn deploy -s settings.xml
35
35
env :
36
- GITHUB_TOKEN : ${{ github.token }}
36
+ GITHUB_TOKEN : ${{ secrets.MULTIFORM_VALIDATOR_MVN_TOKEN_GITHUB_PACKAGES }}
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >io.github</groupId >
8
8
<artifactId >multiform-validator</artifactId >
9
- <version >0.0.1 </version >
9
+ <version >0.0.2 </version >
10
10
11
11
<name >Multiform Validator</name >
12
12
<description >
Original file line number Diff line number Diff line change
1
+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0"
2
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0
4
+ http://maven.apache.org/xsd/settings-1.0.0.xsd" >
5
+
6
+ <activeProfiles >
7
+ <activeProfile >github</activeProfile >
8
+ </activeProfiles >
9
+
10
+ <profiles >
11
+ <profile >
12
+ <id >github</id >
13
+ <repositories >
14
+ <repository >
15
+ <id >central</id >
16
+ <url >https://repo1.maven.org/maven2</url >
17
+ </repository >
18
+ <repository >
19
+ <id >github</id >
20
+ <url >https://maven.pkg.github.com/multiform-validator/java</url >
21
+ <snapshots >
22
+ <enabled >true</enabled >
23
+ </snapshots >
24
+ </repository >
25
+ </repositories >
26
+ </profile >
27
+ </profiles >
28
+
29
+ <servers >
30
+ <server >
31
+ <id >github</id >
32
+ <username >gabriel-logan</username >
33
+ <password >${env.GITHUB_TOKEN}</password >
34
+ </server >
35
+ </servers >
36
+ </settings >
You can’t perform that action at this time.
0 commit comments