Skip to content

Commit f042c5e

Browse files
committed
Improve xcframework compression level.
1 parent e9aec73 commit f042c5e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/build-frameworks.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@ jobs:
7474
uses: ./.github/actions/install-dependencies
7575
- name: Generate XCFramework
7676
uses: ./.github/actions/generate-xcframework
77+
- name: Zip Xcframework (remove before merging!)
78+
run: |
79+
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework LDKFramework.xcframework.zip
80+
- name: Upload Framework Artifact (remove before merging!)
81+
uses: actions/upload-artifact@v3
82+
with:
83+
name: LDKFramework.xcframework.zip
84+
path: LDKFramework.xcframework.zip

.github/workflows/release-framework.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: ./.github/actions/generate-xcframework
3131
- name: Zip Xcframework
3232
run: |
33-
zip -9 -r LDKFramework.xcframework.zip /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework
33+
ditto -c -k --sequesterRsrc /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LDKFramework.xcframework LDKFramework.xcframework.zip
3434
- name: Upload Framework Artifact
3535
uses: actions/upload-artifact@v3
3636
with:

0 commit comments

Comments
 (0)