Skip to content

Commit 1740686

Browse files
committed
chore: Update build workflow to build and publish LSOF binary to a release
1 parent 77f2a2d commit 1740686

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ jobs:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21-
- name: Compile LSOF
22-
run: |
23-
./Configure -n linux
24-
make CC='gcc -static' LDFLAGS='-static -static-libgcc'
25-
echo "------ :: LSOF binary is compiled and installed :: ------"
26-
./lsof -v
21+
# - name: Compile LSOF
22+
# run: |
23+
# ./Configure -n linux
24+
# make CC='gcc -static' LDFLAGS='-static -static-libgcc'
25+
# echo "------ :: LSOF binary is compiled and installed :: ------"
26+
# ./lsof -v
2727

2828
- name: Gets latest created release info
2929
id: latest-release
@@ -38,6 +38,6 @@ jobs:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
with:
4040
upload_url: ${{ steps.latest-release.outputs.upload_url }}
41-
asset_path: ./lsof
41+
asset_path: ./build/lsof-binary
4242
asset_name: lsof-binary
4343
asset_content_type: application/octet-stream

0 commit comments

Comments
 (0)