File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1414 with :
1515 java-version : 8
1616
17+ - name : Cache local Maven repository
18+ uses : actions/cache@v2
19+ with :
20+ path : ~/.m2/repository
21+ key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
22+ restore-keys : |
23+ ${{ runner.os }}-maven-
24+
1725 - name : Run tests with Maven
1826 env :
1927 CX_CLIENT_ID : ${{ secrets.CLIENT_ID}}
Original file line number Diff line number Diff line change 3939 - name : Update the POM version.
4040 run : mvn -B versions:set -DnewVersion='${{ env.RELEASE_VERSION }}' --file pom.xml -DskipTests
4141
42- - name : Commit pom change version
43- run : |
44- git config user.name github-actions
45- git config user.email [email protected] 46- git add pom.xml
47- git commit -m '[auto-release] Update pom version'
48- git push
49-
5042 - name : Publish package
5143 run : mvn --batch-mode deploy -DskipTests
5244 env :
Original file line number Diff line number Diff line change 55
66 <groupId >com.checkmarx.ast</groupId >
77 <artifactId >ast-cli-java-wrapper</artifactId >
8- <version >1.0.17 </version >
8+ <version >${ast.wrapper.version} </version >
99 <packaging >jar</packaging >
1010
1111 <name >Checkmarx AST Client</name >
1212 <description >Checkmarx AST ClI SDK</description >
1313 <url >https://www.checkmarx.com</url >
1414
1515 <properties >
16+ <ast .wrapper.version>dev</ast .wrapper.version>
1617 <maven .compiler.source>8</maven .compiler.source>
1718 <maven .compiler.target>8</maven .compiler.target>
1819 </properties >
You can’t perform that action at this time.
0 commit comments