File tree 2 files changed +37
-2
lines changed
2 files changed +37
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Maven build
2
+ on :
3
+ release :
4
+ types : [ created ]
5
+
6
+ jobs :
7
+ publish :
8
+ name : Build and publish
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Check out code
12
+ uses : actions/checkout@v2
13
+ - name : Set up JDK
14
+ uses : actions/setup-java@v1
15
+ with :
16
+ java-version : 11
17
+ - name : Cache
18
+ uses : actions/cache@v1
19
+ with :
20
+ path : ~/.m2/repository
21
+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-maven-
24
+ - name : Publish to GitHub Packages
25
+ run : mvn -B clean deploy
26
+ env :
27
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
28
+
29
+
Original file line number Diff line number Diff line change 9
9
</parent >
10
10
<groupId >cz.metacentrum</groupId >
11
11
<artifactId >fake_oidc</artifactId >
12
- <version >1.1</version >
12
+ <version >1.1.1 </version >
13
13
<name >fake_oidc</name >
14
14
<description >Fake OpenId Connect Authorization Server</description >
15
15
43
43
</dependencies >
44
44
45
45
<build >
46
- <finalName >${project.name} </finalName >
47
46
<plugins >
48
47
<plugin >
49
48
<groupId >org.springframework.boot</groupId >
50
49
<artifactId >spring-boot-maven-plugin</artifactId >
51
50
</plugin >
52
51
</plugins >
53
52
</build >
53
+ <distributionManagement >
54
+ <repository >
55
+ <id >github</id >
56
+ <name >GitHub Packages</name >
57
+ <url >https://maven.pkg.github.com/CESNET/fake-oidc-server</url >
58
+ </repository >
59
+ </distributionManagement >
54
60
55
61
</project >
You can’t perform that action at this time.
0 commit comments