Skip to content

Commit ece6a10

Browse files
committed
chore: rename bundle manifest to info.json and use 7z for better compression
1 parent 20063b0 commit ece6a10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
cp downloaded_artifacts/subtree_linux_aarch64/subtree_linux_aarch64 "${BUNDLE_DIR}/linux-arm64/subtree"
135135
136136
# Create artifact bundle manifest
137-
cat > "${BUNDLE_DIR}/artifactbundle.json" << EOF
137+
cat > "${BUNDLE_DIR}/info.json" << EOF
138138
{
139139
"schemaVersion": "1.0",
140140
"artifacts": {
@@ -160,8 +160,8 @@ jobs:
160160
}
161161
EOF
162162
163-
# Create zip archive
164-
zip -r "subtree.artifactbundle.zip" "${BUNDLE_DIR}"
163+
# Create zip archive with maximum compression
164+
7z a -tzip -mx=9 "subtree.artifactbundle.zip" "${BUNDLE_DIR}"
165165
166166
- name: Upload release binaries
167167
uses: skx/github-action-publish-binaries@master

0 commit comments

Comments
 (0)