Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 5cc3755

Browse files
committed
Remove folder info from zip archive
1 parent 5949ae0 commit 5cc3755

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-cli.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
run: dotnet publish --runtime ${{matrix.rid}} --self-contained true --configuration Release --output ${{env.OUTPUT_DIR}}
4242
- name: Package
4343
run: |
44-
zip ${{format(env.PACKAGE_ZIP_TEMPLATE, matrix.rid, steps.get-version.outputs.version)}} ${{env.OUTPUT_DIR}}/*
44+
cd ${{env.OUTPUT_DIR}}
45+
zip ${{format(env.PACKAGE_ZIP_TEMPLATE, matrix.rid, steps.get-version.outputs.version)}} $(ls -a)
4546
- name: Add to release
4647
run: gh release upload ${{github.ref_name}} ${{format(env.PACKAGE_ZIP_TEMPLATE, matrix.rid, steps.get-version.outputs.version)}} --clobber
4748
env:

0 commit comments

Comments
 (0)