File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 39
39
# Update current release
40
40
echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version
41
41
42
+ - name : Download latest cli and update branch
43
+ if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
44
+ run : |
45
+ # Update binaries
46
+ chmod +x ./.github/scripts/update_cli.sh
47
+ ./.github/scripts/update_cli.sh ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
48
+
42
49
- name : Track large files with Git LFS
50
+ if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
43
51
run : |
44
52
git lfs track "src/main/resources/cx-linux"
45
53
git lfs track "src/main/resources/cx.exe"
48
56
git add src/main/resources/cx-linux src/main/resources/cx.exe src/main/resources/cx-mac
49
57
git commit -m "Track Checkmarx CLI binaries with Git LFS"
50
58
51
- - name : Download latest cli and update branch
52
- if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
53
- run : |
54
- # Update binaries
55
- chmod +x ./.github/scripts/update_cli.sh
56
- ./.github/scripts/update_cli.sh ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
57
-
58
59
- name : Create Pull Request
59
60
if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
60
61
uses : peter-evans/create-pull-request@v6
You can’t perform that action at this time.
0 commit comments