File tree 3 files changed +21
-14
lines changed
3 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 3
3
- package-ecosystem : " maven"
4
4
directory : " /"
5
5
schedule :
6
- interval : " weekly "
6
+ interval : " daily "
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
1
name : Java CI with Maven
10
2
11
3
on :
12
4
workflow_dispatch :
5
+ push :
6
+ pull_request :
13
7
14
8
jobs :
15
9
build :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
16
13
17
- runs-on : self-hosted
14
+ - name : Set up JDK 11
15
+ uses : actions/setup-java@v2
16
+ with :
17
+ java-version : ' 11'
18
+ distribution : ' temurin'
19
+ cache : maven
18
20
19
- steps :
20
- - uses : actions/checkout@v4
21
21
- name : Build with Maven
22
- run : mvn clean install -U
22
+ run : mvn compile
23
+
24
+ - name : Test with Maven
25
+ run : mvn test
26
+
27
+ - name : Package with maven
28
+ run : mvn package
Original file line number Diff line number Diff line change 7
7
<parent >
8
8
<groupId >org.ndviet</groupId >
9
9
<artifactId >test-parent-pom</artifactId >
10
- <version >${revision} </version >
10
+ <version >23.11.11 </version >
11
11
<relativePath >../test-parent-pom/pom.xml</relativePath >
12
12
</parent >
13
13
23
23
</modules >
24
24
25
25
<properties >
26
+ <revision >1.0.0-SNAPSHOT</revision >
26
27
<github .repository>test-automation-fwk</github .repository>
27
28
</properties >
28
29
You can’t perform that action at this time.
0 commit comments