File tree Expand file tree Collapse file tree 4 files changed +10
-21
lines changed
src/main/java/com/checkmarx/ast Expand file tree Collapse file tree 4 files changed +10
-21
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,10 @@ jobs:
18
18
steps :
19
19
- name : Checkout the repository
20
20
uses : actions/checkout@v2
21
- - name : Set up JDK 11
21
+ - name : Set up JDK 8
22
22
uses : actions/setup-java@v1
23
23
with :
24
- java-version : 11
24
+ java-version : 8
25
25
- name : Copy executable
26
26
run : cp ./src/main/resources/cx-exe /tmp/
27
27
- name : Permissions to executable
Original file line number Diff line number Diff line change @@ -17,26 +17,22 @@ jobs:
17
17
18
18
steps :
19
19
- uses : actions/checkout@v2
20
- - name : Set up JDK 11
20
+ - name : Set up JDK 8
21
21
uses : actions/setup-java@v2
22
22
with :
23
- java-version : ' 11 '
23
+ java-version : ' 8 '
24
24
distribution : ' adopt'
25
25
server-id : github # Value of the distributionManagement/repository/id field of the pom.xml
26
26
settings-path : ${{ github.workspace }} # location for the settings.xml file
27
27
- name : Copy executable
28
28
run : cp ./src/main/resources/cx-exe /tmp/
29
29
- name : Permissions to executable
30
30
run : sudo chmod 777 /tmp/cx-exe
31
- - name : Build with Maven
32
- env :
33
- CX_CLIENT_ID : ${{ secrets.CLIENT_ID}}
34
- CX_CLIENT_SECRET : ${{ secrets.CLIENT_SECRET}}
35
- CX_BASE_URI : ${{ secrets.BASE_URI }}
36
- PATH_TO_EXECUTABLE : /tmp/cx-exe
37
- run : mvn -B package --file pom.xml
38
-
39
31
- name : Publish to GitHub Packages Apache Maven
40
32
run : mvn deploy -s $GITHUB_WORKSPACE/settings.xml
41
33
env :
34
+ CX_CLIENT_ID : ${{ secrets.CLIENT_ID}}
35
+ CX_CLIENT_SECRET : ${{ secrets.CLIENT_SECRET}}
36
+ CX_BASE_URI : ${{ secrets.BASE_URI }}
37
+ PATH_TO_EXECUTABLE : /tmp/cx-exe
42
38
GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 100
100
</repository >
101
101
</distributionManagement >
102
102
<properties >
103
- <maven .compiler.source>11 </maven .compiler.source>
104
- <maven .compiler.target>11 </maven .compiler.target>
103
+ <maven .compiler.source>8 </maven .compiler.source>
104
+ <maven .compiler.target>8 </maven .compiler.target>
105
105
</properties >
106
106
<developers >
107
107
<developer >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments