File tree Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Expand file tree Collapse file tree 2 files changed +8
-13
lines changed Original file line number Diff line number Diff line change 15
15
sudo apt-get install git-lfs
16
16
git lfs install
17
17
18
- # GIT CONFIGURATION
19
- - name : Configure Git user
20
- run : |
21
- git config --global user.email "[email protected] "
22
- git config --global user.name "Your Name"
23
-
24
18
- name : Use Node.js 14
25
19
26
20
with :
Original file line number Diff line number Diff line change 37
37
# Update current release
38
38
echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version
39
39
40
+ - name : Download latest cli and update branch
41
+ if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
42
+ run : |
43
+ # Update binaries
44
+ chmod +x ./.github/scripts/update_cli.sh
45
+ ./.github/scripts/update_cli.sh ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
46
+
40
47
- name : Track large files with Git LFS
48
+ if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
41
49
run : |
42
50
git lfs track "src/main/wrapper/resources/cx-linux"
43
51
git lfs track "src/main/wrapper/resources/cx.exe"
46
54
git add src/main/wrapper/resources/cx-linux src/main/wrapper/resources/cx.exe src/main/wrapper/resources/cx-mac
47
55
git commit -m "Track Checkmarx CLI binaries with Git LFS"
48
56
49
- - name : Download latest cli and update branch
50
- if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
51
- run : |
52
- # Update binaries
53
- chmod +x ./.github/scripts/update_cli.sh
54
- ./.github/scripts/update_cli.sh ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
55
-
56
57
- name : Create Pull Request
57
58
if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
58
59
uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
You can’t perform that action at this time.
0 commit comments