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 14
14
with :
15
15
java-version : 8
16
16
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
+
17
25
- name : Run tests with Maven
18
26
env :
19
27
CX_CLIENT_ID : ${{ secrets.CLIENT_ID}}
Original file line number Diff line number Diff line change 39
39
- name : Update the POM version.
40
40
run : mvn -B versions:set -DnewVersion='${{ env.RELEASE_VERSION }}' --file pom.xml -DskipTests
41
41
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
-
50
42
- name : Publish package
51
43
run : mvn --batch-mode deploy -DskipTests
52
44
env :
Original file line number Diff line number Diff line change 5
5
6
6
<groupId >com.checkmarx.ast</groupId >
7
7
<artifactId >ast-cli-java-wrapper</artifactId >
8
- <version >1.0.17 </version >
8
+ <version >${ast.wrapper.version} </version >
9
9
<packaging >jar</packaging >
10
10
11
11
<name >Checkmarx AST Client</name >
12
12
<description >Checkmarx AST ClI SDK</description >
13
13
<url >https://www.checkmarx.com</url >
14
14
15
15
<properties >
16
+ <ast .wrapper.version>dev</ast .wrapper.version>
16
17
<maven .compiler.source>8</maven .compiler.source>
17
18
<maven .compiler.target>8</maven .compiler.target>
18
19
</properties >
You can’t perform that action at this time.
0 commit comments