File tree Expand file tree Collapse file tree 4 files changed +54
-58
lines changed Expand file tree Collapse file tree 4 files changed +54
-58
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 7
7
<parent >
8
8
<groupId >de.codecentric.reedelk</groupId >
9
9
<artifactId >module-parent</artifactId >
10
- <version >2.0.0 </version >
10
+ <version >2.1.0-beta3 </version >
11
11
</parent >
12
12
13
13
<packaging >bundle</packaging >
14
- <version >2.0.0 </version >
14
+ <version >2.1.0-beta3 </version >
15
15
<artifactId >module-file</artifactId >
16
16
17
17
<properties >
21
21
<junit .version>5.5.2</junit .version>
22
22
<jacoco .version>0.8.2</jacoco .version>
23
23
</properties >
24
+ <pluginRepositories >
25
+ <pluginRepository >
26
+ <id >github</id >
27
+ <name >Reedelk Runtime Packages</name >
28
+ <url >https://maven.pkg.github.com/codecentric/reedelk-runtime</url >
29
+ <releases ><enabled >true</enabled ></releases >
30
+ <snapshots ><enabled >true</enabled ></snapshots >
31
+ </pluginRepository >
32
+ </pluginRepositories >
33
+ <repositories >
34
+ <repository >
35
+ <id >github</id >
36
+ <name >Reedelk Runtime Packages</name >
37
+ <url >https://maven.pkg.github.com/codecentric/reedelk-runtime</url >
38
+ <releases ><enabled >true</enabled ></releases >
39
+ <snapshots ><enabled >true</enabled ></snapshots >
40
+ </repository >
41
+ </repositories >
42
+ <distributionManagement >
43
+ <repository >
44
+ <id >github</id >
45
+ <name >GitHub Packages</name >
46
+ <url >https://maven.pkg.github.com/codecentric/reedelk-module-file</url >
47
+ </repository >
48
+ </distributionManagement >
24
49
25
50
<dependencies >
26
51
<!-- Test dependencies -->
You can’t perform that action at this time.
0 commit comments