File tree Expand file tree Collapse file tree 4 files changed +54
-59
lines changed Expand file tree Collapse file tree 4 files changed +54
-59
lines changed Original file line number Diff line number Diff line change 13
13
uses : actions/setup-java@v1
14
14
with :
15
15
java-version : 11
16
+ server-id : github
17
+ server-username : GITHUB_USER_REF
18
+ server-password : GITHUB_TOKEN_REF
16
19
17
20
- name : Build with Maven
18
21
run : mvn -B install --no-transfer-progress --file pom.xml
22
+ env :
23
+ GITHUB_USER_REF : ${{ secrets.GH_PACKAGE_REPO_USERNAME }}
24
+ GITHUB_TOKEN_REF : ${{ secrets.GH_PACKAGE_REPO_PASSWORD }}
Original file line number Diff line number Diff line change
1
+ name : Publish packages to GitHub Packages
2
+ on :
3
+ release :
4
+ types : [created]
5
+ jobs :
6
+ publish :
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - uses : actions/setup-java@v2
11
+ with :
12
+ java-version : ' 11'
13
+ distribution : ' adopt'
14
+ server-id : github
15
+ server-username : GITHUB_USER_REF
16
+ server-password : GITHUB_TOKEN_REF
17
+ - name : Publish package
18
+ run : mvn --batch-mode deploy -DskipTests
19
+ env :
20
+ GITHUB_USER_REF : ${{ secrets.GH_PACKAGE_REPO_USERNAME }}
21
+ GITHUB_TOKEN_REF : ${{ secrets.GH_PACKAGE_REPO_PASSWORD }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
<parent >
9
9
<groupId >de.codecentric.reedelk</groupId >
10
10
<artifactId >module-parent</artifactId >
11
- <version >2.0.0 </version >
11
+ <version >2.1.0-beta3 </version >
12
12
</parent >
13
13
14
14
<packaging >bundle</packaging >
15
- <version >2.0.0 </version >
15
+ <version >2.1.0-beta3 </version >
16
16
<artifactId >module-ftp</artifactId >
17
17
18
18
<properties >
25
25
<assertj .version>3.11.1</assertj .version>
26
26
<junit .version>5.5.2</junit .version>
27
27
</properties >
28
-
28
+ <pluginRepositories >
29
+ <pluginRepository >
30
+ <id >github</id >
31
+ <name >Reedelk Runtime Packages</name >
32
+ <url >https://maven.pkg.github.com/codecentric/reedelk-runtime</url >
33
+ <releases ><enabled >true</enabled ></releases >
34
+ <snapshots ><enabled >true</enabled ></snapshots >
35
+ </pluginRepository >
36
+ </pluginRepositories >
37
+ <repositories >
38
+ <repository >
39
+ <id >github</id >
40
+ <name >Reedelk Runtime Packages</name >
41
+ <url >https://maven.pkg.github.com/codecentric/reedelk-runtime</url >
42
+ <releases ><enabled >true</enabled ></releases >
43
+ <snapshots ><enabled >true</enabled ></snapshots >
44
+ </repository >
45
+ </repositories >
46
+ <distributionManagement >
47
+ <repository >
48
+ <id >github</id >
49
+ <name >GitHub Packages</name >
50
+ <url >https://maven.pkg.github.com/codecentric/reedelk-module-ftp</url >
51
+ </repository >
52
+ </distributionManagement >
29
53
<dependencies >
30
54
<dependency >
31
55
<groupId >commons-net</groupId >
You can’t perform that action at this time.
0 commit comments