File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 18
18
- name : Build with Maven
19
19
run : mvn --batch-mode --update-snapshots package
20
20
21
- deploy :
21
+ publish :
22
22
needs : [ "build" ]
23
23
if : contains(github.ref_name, 'dev/')
24
24
permissions :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
29
- uses : actions/checkout@v3
30
-
31
30
- uses : actions/setup-java@v3
32
31
with :
33
32
java-version : ' 17'
38
37
GITHUB_USERNAME : makbn
39
38
GITHUB_ACTOR : makbn
40
39
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
41
- run : mvn -e - -settings settings.xml deploy
40
+ run : mvn --settings settings.xml deploy
42
41
Original file line number Diff line number Diff line change 159
159
<distributionManagement >
160
160
<repository >
161
161
<id >github</id >
162
- <name >GitHub Packages</name >
162
+ <name >GitHub makbn Apache Maven Packages</name >
163
163
<url >https://maven.pkg.github.com/makbn/java_leaflet</url >
164
164
</repository >
165
165
</distributionManagement >
Original file line number Diff line number Diff line change 9
9
<profile >
10
10
<id >github</id >
11
11
<repositories >
12
- <repository >
13
- <id >central</id >
14
- <url >https://repo1.maven.org/maven2</url >
15
- </repository >
16
12
<repository >
17
13
<id >github</id >
14
+ <name >GitHub makbn Apache Maven Packages</name >
18
15
<url >https://maven.pkg.github.com/makbn/java_leaflet</url >
19
16
<snapshots >
20
17
<enabled >true</enabled >
21
18
</snapshots >
19
+ <releases >
20
+ <enabled >true</enabled >
21
+ </releases >
22
22
</repository >
23
23
</repositories >
24
24
</profile >
You can’t perform that action at this time.
0 commit comments