File tree Expand file tree Collapse file tree 3 files changed +27
-27
lines changed Expand file tree Collapse file tree 3 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Build On Pull Request
2
2
on :
3
3
pull_request :
4
4
branches : [ "develop","master" ]
5
-
5
+
6
6
jobs :
7
7
Build :
8
8
runs-on : ubuntu-latest
@@ -14,10 +14,10 @@ jobs:
14
14
repository : ${{ github.event.pull_request.head.repo.full_name }}
15
15
16
16
- name : Setup JDK 17
17
- uses : actions/setup-java@v2
17
+ uses : actions/setup-java@v4
18
18
with :
19
19
java-version : 17
20
- distribution : ' adopt '
20
+ distribution : ' temurin '
21
21
22
22
- name : Build with Maven
23
23
run : mvn clean install
Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ jobs:
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
23
- - name : Checkout code
24
- uses : actions/checkout@v2
23
+ - name : Checkout code
24
+ uses : actions/checkout@v3
25
25
26
26
- name : Setup JDK 17
27
- uses : actions/setup-java@v2
27
+ uses : actions/setup-java@v4
28
28
with :
29
29
java-version : 17
30
- distribution : ' adopt '
30
+ distribution : ' temurin '
31
31
32
32
- name : Build with Maven
33
33
run : mvn clean install -DENV_VAR=${{ env.ENV_VAR }}
Original file line number Diff line number Diff line change @@ -27,26 +27,26 @@ jobs:
27
27
language : [ 'java' ]
28
28
29
29
steps :
30
- - name : Checkout code
31
- uses : actions/checkout@v3
32
- with :
33
- ref : ${{ github.event.pull_request.head.ref }}
34
- repository : ${{ github.event.pull_request.head.repo.full_name }}
30
+ - name : Checkout code
31
+ uses : actions/checkout@v3
32
+ with :
33
+ ref : ${{ github.event.pull_request.head.ref }}
34
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
35
35
36
- # Initializes the CodeQL tools for scanning.
37
- - name : Initialize CodeQL
38
- uses : github/codeql-action/init@v2
36
+ # Initializes the CodeQL tools for scanning.
37
+ - name : Initialize CodeQL
38
+ uses : github/codeql-action/init@v2
39
39
40
- - name : Setup JDK 17
41
- uses : actions/setup-java@v2
42
- with :
43
- java-version : 17
44
- distribution : ' adopt '
45
-
46
- - name : Build with Maven
47
- run : mvn clean install
40
+ - name : Setup JDK 17
41
+ uses : actions/setup-java@v4
42
+ with :
43
+ java-version : 17
44
+ distribution : ' temurin '
45
+
46
+ - name : Build with Maven
47
+ run : mvn clean install
48
48
49
- - name : Perform CodeQL Analysis
50
- uses : github/codeql-action/analyze@v2
51
- with :
52
- category : " /language:${{matrix.language}}"
49
+ - name : Perform CodeQL Analysis
50
+ uses : github/codeql-action/analyze@v2
51
+ with :
52
+ category : " /language:${{matrix.language}}"
You can’t perform that action at this time.
0 commit comments