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:
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
Original file line number Diff line number Diff 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 }}
Original file line number Diff line number Diff line change 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 >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments