Skip to content

Commit 425f2bc

Browse files
committed
Preserve symlinks and directories
1 parent 117c3df commit 425f2bc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ jobs:
108108
run: |
109109
mkdir dist out
110110
make ci-build
111-
zip -r -j out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_linux_${{ matrix.arch }}.zip dist/${{ env.GOOS }}/${{ env.GOARCH }}/
111+
cd dist/${{ env.GOOS }}/${{ env.GOARCH }}/.
112+
zip -r --symlinks out/${{ env.PKG_NAME }}_${{ needs.get-product-version.outputs.product-version }}_linux_${{ matrix.arch }}.zip .
112113
- name: Upload binaries
113114
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
114115
with:

0 commit comments

Comments
 (0)