Skip to content

Commit 7c89294

Browse files
committed
fix: add recursive flag to windows zip archive command
1 parent 8bd5ca2 commit 7c89294

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/package-and-upload-assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- { os: "linux", arch: "x64", download_path_segment: "linux/amd64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
3636
- { os: "darwin", arch: "arm64", download_path_segment: "darwin/arm64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
3737
- { os: "darwin", arch: "x64", download_path_segment: "darwin/amd64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
38-
- { os: "win32", arch: "x64", download_path_segment: "windows/amd64", binary_suffix: ".exe", archive_extension: "zip", archive_command: '(cd staging && zip ../"${ARCHIVE_NAME}" *)' }
38+
- { os: "win32", arch: "x64", download_path_segment: "windows/amd64", binary_suffix: ".exe", archive_extension: "zip", archive_command: '(cd staging && zip -r ../"${ARCHIVE_NAME}" *)' }
3939
steps:
4040
- name: Checkout code at the new tag
4141
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

0 commit comments

Comments
 (0)