Skip to content

Commit 4811559

Browse files
author
Jay Nanduri
committed
changed java version
1 parent 32eb317 commit 4811559

File tree

4 files changed

+10
-21
lines changed

4 files changed

+10
-21
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- name: Checkout the repository
2020
uses: actions/checkout@v2
21-
- name: Set up JDK 11
21+
- name: Set up JDK 8
2222
uses: actions/setup-java@v1
2323
with:
24-
java-version: 11
24+
java-version: 8
2525
- name: Copy executable
2626
run: cp ./src/main/resources/cx-exe /tmp/
2727
- name: Permissions to executable

.github/workflows/maven-publish.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,22 @@ jobs:
1717

1818
steps:
1919
- uses: actions/checkout@v2
20-
- name: Set up JDK 11
20+
- name: Set up JDK 8
2121
uses: actions/setup-java@v2
2222
with:
23-
java-version: '11'
23+
java-version: '8'
2424
distribution: 'adopt'
2525
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
2626
settings-path: ${{ github.workspace }} # location for the settings.xml file
2727
- name: Copy executable
2828
run: cp ./src/main/resources/cx-exe /tmp/
2929
- name: Permissions to executable
3030
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-
3931
- name: Publish to GitHub Packages Apache Maven
4032
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
4133
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
4238
GITHUB_TOKEN: ${{ github.token }}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
</repository>
101101
</distributionManagement>
102102
<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>
105105
</properties>
106106
<developers>
107107
<developer>

src/main/java/com/checkmarx/ast/CheckmarxExeception.java

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)