File tree Expand file tree Collapse file tree 5 files changed +101
-2
lines changed Expand file tree Collapse file tree 5 files changed +101
-2
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name : Deploy package
10
+ on :
11
+ release :
12
+ types : [created]
13
+ jobs :
14
+ publish :
15
+ runs-on : ubuntu-latest
16
+ permissions :
17
+ contents : read
18
+ packages : write
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/setup-java@v3
22
+ with :
23
+ java-version : ' 11'
24
+ distribution : ' temurin'
25
+ overwrite-settings : false
26
+ - name : Publish package
27
+ run : mvn --batch-mode deploy -DgithubRepository=${{github.repository}}
28
+ env :
29
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven
3
+
4
+ # This workflow uses actions that are not certified by GitHub.
5
+ # They are provided by a third-party and are governed by
6
+ # separate terms of service, privacy policy, and support
7
+ # documentation.
8
+
9
+ name : Java CI with Maven
10
+
11
+ on : push
12
+
13
+ jobs :
14
+ build :
15
+
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout Source
19
+ uses : actions/checkout@v3
20
+
21
+ - name : Set up JDK 11
22
+ uses : actions/setup-java@v3
23
+ with :
24
+ java-version : ' 11'
25
+ distribution : ' temurin'
26
+ cache : maven
27
+
28
+ - name : Compile Sources
29
+ run : mvn -B compile --file pom.xml
30
+
31
+ - name : Test
32
+ run : mvn -B test --file pom.xml
33
+
34
+ - name : Package
35
+ run : mvn -B package --file pom.xml
36
+
37
+ - name : Verify
38
+ run : mvn -B verify --file pom.xml
Original file line number Diff line number Diff line change
1
+ -ssettings.xml
Original file line number Diff line number Diff line change 3
3
<parent >
4
4
<artifactId >eblocker-top</artifactId >
5
5
<groupId >org.eblocker</groupId >
6
- <version >2.4.12</version >
7
- <relativePath >../eblocker-top</relativePath >
6
+ <version >2.4.13</version >
8
7
</parent >
9
8
<modelVersion >4.0.0</modelVersion >
10
9
13
12
<artifactId >eblocker-registration-api</artifactId >
14
13
<version >2.7.6</version >
15
14
15
+ <repositories >
16
+ <repository >
17
+ <id >eblocker-top</id >
18
+ <url >https://maven.pkg.github.com/eblocker/eblocker-top</url >
19
+ </repository >
20
+ </repositories >
21
+
16
22
<dependencies >
17
23
<dependency >
18
24
<groupId >com.fasterxml.jackson.core</groupId >
35
41
</dependency >
36
42
</dependencies >
37
43
44
+ <distributionManagement >
45
+ <repository >
46
+ <id >eblocker-registration-api</id >
47
+ <name >GitHub Packages</name >
48
+ <url >https://maven.pkg.github.com/${githubRepository} </url >
49
+ </repository >
50
+ </distributionManagement >
38
51
</project >
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
+ <servers >
7
+ <server >
8
+ <id >eblocker-top</id >
9
+ <username >NoUserName</username >
10
+ <password >g hp_Cei0Aao5u77MAOxJu7Hlwc1piSERTk3rv8Pt</password >
11
+ </server >
12
+ <server >
13
+ <id >eblocker-registration-api</id >
14
+ <username >${env.GITHUB_ACTOR}</username >
15
+ <password >${env.GITHUB_TOKEN}</password >
16
+ </server >
17
+ </servers >
18
+ </settings >
You can’t perform that action at this time.
0 commit comments