Skip to content

Commit

Permalink
fix: change zip command to use -j option for adding assets without path
Browse files Browse the repository at this point in the history
  • Loading branch information
thelastfantasy committed Oct 19, 2024
1 parent c9c5cf3 commit 4695b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
# 创建包含指定文件的压缩包
while IFS= read -r asset; do
echo "Adding asset: $asset"
zip -r "$output_zip" "$GITHUB_WORKSPACE/$asset"
zip -j "$output_zip" "$GITHUB_WORKSPACE/$asset"
done < "$assets_file"
shell: bash

Expand Down

0 comments on commit 4695b45

Please sign in to comment.