diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d53a5439..9434235f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,6 +14,14 @@ jobs:
with:
java-version: 8
+ - name: Cache local Maven repository
+ uses: actions/cache@v2
+ with:
+ path: ~/.m2/repository
+ key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
+ restore-keys: |
+ ${{ runner.os }}-maven-
+
- name: Run tests with Maven
env:
CX_CLIENT_ID: ${{ secrets.CLIENT_ID}}
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 56e2a345..cda59b68 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -39,14 +39,6 @@ jobs:
- name: Update the POM version.
run: mvn -B versions:set -DnewVersion='${{ env.RELEASE_VERSION }}' --file pom.xml -DskipTests
- - name: Commit pom change version
- run: |
- git config user.name github-actions
- git config user.email github-actions@github.com
- git add pom.xml
- git commit -m '[auto-release] Update pom version'
- git push
-
- name: Publish package
run: mvn --batch-mode deploy -DskipTests
env:
diff --git a/pom.xml b/pom.xml
index 2195fadd..20a163c1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
com.checkmarx.ast
ast-cli-java-wrapper
- 1.0.17
+ ${ast.wrapper.version}
jar
Checkmarx AST Client
@@ -13,6 +13,7 @@
https://www.checkmarx.com
+ dev
8
8