Skip to content

Commit 5fc39aa

Browse files
committed
delete git lfs
1 parent e6281ef commit 5fc39aa

File tree

8 files changed

+1
-70
lines changed

8 files changed

+1
-70
lines changed

.gitattributes

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ jobs:
66
runs-on: ubuntu-latest
77
steps:
88
- uses: actions/checkout@v4
9-
with:
10-
lfs: true
11-
12-
- name: Install Git LFS
13-
run: |
14-
sudo apt-get update
15-
sudo apt-get install git-lfs
16-
git lfs install
179

1810
- name: Use Node.js 14
1911
uses: actions/[email protected]
@@ -25,24 +17,6 @@ jobs:
2517
run: npm run lint
2618
- run: npm run build --if-present
2719

28-
- name: Check existence of cx-linux binary
29-
run: |
30-
if [ ! -f "src/main/wrapper/resources/cx-linux" ]; then
31-
echo "cx-linux binary does not exist"; exit 1;
32-
fi
33-
34-
- name: Check existence of cx.exe binary
35-
run: |
36-
if [ ! -f "src/main/wrapper/resources/cx.exe" ]; then
37-
echo "cx.exe binary does not exist"; exit 1;
38-
fi
39-
40-
- name: Check existence of cx-mac binary
41-
run: |
42-
if [ ! -f "src/main/wrapper/resources/cx-mac" ]; then
43-
echo "cx-mac binary does not exist"; exit 1;
44-
fi
45-
4620
- name: Run tests
4721
env:
4822
CX_CLIENT_ID: ${{ secrets.CX_CLIENT_ID}}

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
- uses: actions/checkout@v4
5959
with:
6060
fetch-depth: 0
61-
lfs: true # Ensure LFS files are checked out
6261

6362
# GIT CONFIGURATION
6463
- run: |

.github/workflows/update-cli.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,6 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
with:
13-
lfs: true
14-
15-
- name: Install Git LFS
16-
run: |
17-
sudo apt-get update
18-
sudo apt-get install git-lfs
19-
git lfs install
20-
21-
- name: Configure Git user
22-
run: |
23-
git config --global user.name github-actions
24-
git config --global user.email [email protected]
2512

2613
- name: Get Latest Checkmarx API version
2714
id: checkmarx-ast-cli
@@ -37,23 +24,6 @@ jobs:
3724
# Update current release
3825
echo ${{ steps.checkmarx-ast-cli.outputs.release_tag }} > checkmarx-ast-cli.version
3926
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-
47-
- name: Track large files with Git LFS
48-
if: steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
49-
run: |
50-
git lfs track "src/main/wrapper/resources/cx-linux"
51-
git lfs track "src/main/wrapper/resources/cx.exe"
52-
git lfs track "src/main/wrapper/resources/cx-mac"
53-
git add .gitattributes
54-
git add src/main/wrapper/resources/cx-linux src/main/wrapper/resources/cx.exe src/main/wrapper/resources/cx-mac
55-
git commit -m "Track Checkmarx CLI binaries with Git LFS"
56-
5727
- name: Create Pull Request
5828
if: steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
5929
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c #v6

checkmarx-ast-cli.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.6
1+
2.2.5

src/main/wrapper/resources/cx-linux

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main/wrapper/resources/cx-mac

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/main/wrapper/resources/cx.exe

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)