File tree 1 file changed +29
-12
lines changed
1 file changed +29
-12
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,35 @@ jobs:
22
22
- name : Setup Maven settings
23
23
run : |
24
24
mkdir -p ~/.m2
25
- echo '<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
26
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
27
- xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
28
- https://maven.apache.org/xsd/settings-1.0.0.xsd">
29
- <servers>
30
- <server>
31
- <id>ossrh</id>
32
- <username>${{ secrets.MAVEN_USERNAME }}</username>
33
- <password>${{ secrets.MAVEN_PASSWORD }}</password>
34
- </server>
35
- </servers>
36
- </settings>' > ~/.m2/settings.xml
25
+ echo '<?xml version="1.0" encoding="UTF-8"?>
26
+
27
+ <settings xmlns="http://maven.apache.org/SETTINGS/1.2.0"
28
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
29
+ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.2.0 https://maven.apache.org/xsd/settings-1.2.0.xsd">
30
+ <pluginGroups>
31
+ </pluginGroups>
32
+ <proxies>
33
+ </proxies>
34
+ <servers>
35
+ <server>
36
+ <id>ossrh</id>
37
+ <username>sarthak1608</username>
38
+ <password>Keploy@java123</password>
39
+ </server>
40
+ </servers>
41
+ <mirrors>
42
+ <mirror>
43
+ <id>maven-default-http-blocker</id>
44
+ <mirrorOf>external:http:*</mirrorOf>
45
+ <name>Pseudo repository to mirror external repositories initially using HTTP.</name>
46
+ <url>http://0.0.0.0/</url>
47
+ <blocked>true</blocked>
48
+ </mirror>
49
+ </mirrors>
50
+ <profiles>
51
+ </profiles>
52
+ </settings>
53
+ ' > ~/.m2/settings.xml
37
54
38
55
- name : Import GPG Key
39
56
uses : crazy-max/ghaction-import-gpg@v4
You can’t perform that action at this time.
0 commit comments