File tree Expand file tree Collapse file tree 2 files changed +37
-2
lines changed
Expand file tree Collapse file tree 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 99 </parent >
1010 <groupId >cz.metacentrum</groupId >
1111 <artifactId >fake_oidc</artifactId >
12- <version >1.1</version >
12+ <version >1.1.1 </version >
1313 <name >fake_oidc</name >
1414 <description >Fake OpenId Connect Authorization Server</description >
1515
4343 </dependencies >
4444
4545 <build >
46- <finalName >${project.name} </finalName >
4746 <plugins >
4847 <plugin >
4948 <groupId >org.springframework.boot</groupId >
5049 <artifactId >spring-boot-maven-plugin</artifactId >
5150 </plugin >
5251 </plugins >
5352 </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 >
5460
5561</project >
You can’t perform that action at this time.
0 commit comments