We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4718966 commit 14229e6Copy full SHA for 14229e6
1 file changed
.github/workflows/update-cli.yml
@@ -1,10 +1,6 @@
1
name: Update checkmarx Java wrapper
2
on:
3
workflow_dispatch:
4
- inputs:
5
- tag:
6
- description: 'Next release tag'
7
- required: true
8
schedule:
9
- cron: '0 0 * * *'
10
@@ -27,7 +23,7 @@ jobs:
27
23
- name: Get Latest Checkmarx Java wrapper version
28
24
id: ast-cli-java-wrapper
29
25
run: |
30
- echo ::set-output name=release_tag::${{ inputs.tag }}
26
+ echo ::set-output name=release_tag::$(curl -s "https://repo1.maven.org/maven2/com/checkmarx/ast/ast-cli-java-wrapper/maven-metadata.xml" | grep -oPm1 "(?<=<latest>)[^<]+")
31
echo ::set-output name=current_tag::$(<ast-cli-java-wrapper.version)
32
- name: Update Checkmarx Java wrapper version
33
if: steps.ast-cli-java-wrapper.outputs.current_tag != steps.ast-cli-java-wrapper.outputs.release_tag
0 commit comments