File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -2,30 +2,31 @@ name: Java CI
2
2
3
3
on :
4
4
push :
5
- branches : [ master ]
5
+ branches : [ master, NKMOT ]
6
6
pull_request :
7
- branches : [ master ]
7
+ branches : [ master, NKMOT ]
8
8
9
9
jobs :
10
10
build :
11
11
runs-on : ubuntu-latest
12
12
13
13
steps :
14
- - uses : actions/checkout@v1
14
+ - uses : actions/checkout@v4
15
15
- name : Set up JDK 1.8
16
- uses : actions/setup-java@v1
16
+ uses : actions/setup-java@v4
17
17
with :
18
- java-version : 1.8
18
+ java-version : 8
19
+ distribution : ' zulu'
19
20
- name : Cache Maven packages
20
- uses : actions/cache@v1
21
+ uses : actions/cache@v4
21
22
with :
22
23
path : ~/.m2
23
24
key : ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
24
25
restore-keys : ${{ runner.os }}-m2
25
26
- name : Build projects
26
27
run : mvn -B package --file pom.xml
27
28
- run : mkdir staging && cp target/*.jar staging
28
- - uses : actions/upload-artifact@v1
29
+ - uses : actions/upload-artifact@v4
29
30
with :
30
31
name : GunWar-SNAPSHOT
31
32
path : staging
You can’t perform that action at this time.
0 commit comments