File tree Expand file tree Collapse file tree 4 files changed +28
-8
lines changed
actions/upload-xcframework-artifact Expand file tree Collapse file tree 4 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 1414 python3 ./scripts/symlink_resolver.py /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LightningDevKit-no-symlinks.xcframework
1515 ditto -c -k --sequesterRsrc --keepParent /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LightningDevKit-no-symlinks.xcframework LightningDevKit-no-symlinks.xcframework.zip
1616 - name : Upload Framework Artifact
17- uses : actions/upload-artifact@v3
17+ uses : actions/upload-artifact@v4
1818 with :
1919 name : LightningDevKit
2020 path : |
Original file line number Diff line number Diff line change 5757 - name : Xcarchive hack
5858 run : touch ./bindings_root.txt
5959 - name : Upload xcarchive
60- uses : actions/upload-artifact@v3
60+ uses : actions/upload-artifact@v4
6161 with :
62- name : bindings
62+ name : bindings-${{ matrix.configuration['human_readable_platform'] }}
6363 path : ./bindings/**/bin/release/${{ matrix.configuration['human_readable_platform'] }}/${{ matrix.configuration['human_readable_platform'] }}.xcarchive
6464
6565 generate :
7777 - name : Checkout
7878 uses : actions/checkout@v3
7979 - name : Download xcarchives
80- uses : actions/download-artifact@v3
80+ uses : actions/download-artifact@v4
81+ with :
82+ merge-multiple : true
83+ path : ./bindings
84+ - name : Print post-artifact-download directory structure
85+ shell : bash
86+ run : |
87+ echo "Current path:"
88+ pwd
89+ echo "Recursive enumeration"
90+ find "$PWD"
8191 - name : Generate xcframework
8292 shell : bash
8393 run :
Original file line number Diff line number Diff line change 6565 LLVM_TARGET_TRIPLE_SUFFIX : ${{ matrix.configuration['llvm_target_triple_suffix'] }}
6666 ARCHS : ${{ matrix.configuration['architectures'] }}
6767 - name : Upload binary
68- uses : actions/upload-artifact@v3
68+ uses : actions/upload-artifact@v4
6969 with :
70- name : bindings
70+ name : bindings-${{ matrix.configuration['human_readable_platform'] }}
7171 path : |
7272 ./bindings/**/artifacts/ldk-c-bindings/lightning-c-bindings/include/*.h
7373 ./bindings/**/artifacts/ldk-c-bindings/ldk-net/ldk_net.*
8787 - name : Checkout
8888 uses : actions/checkout@v3
8989 - name : Download libldks
90- uses : actions/download-artifact@v3
90+ uses : actions/download-artifact@v4
91+ with :
92+ merge-multiple : true
93+ path : ./bindings
94+ - name : Print post-artifact-download directory structure
95+ shell : bash
96+ run : |
97+ echo "Current path:"
98+ pwd
99+ echo "Recursive enumeration"
100+ find "$PWD"
91101 - name : Generate Swift Bindings
92102 shell : bash
93103 run : |
Original file line number Diff line number Diff line change 3232 mkdir -p ./bindings/bin/release/${{ matrix.configuration['human_readable_platform'] }}
3333 touch ./bindings/bin/release/${{ matrix.configuration['human_readable_platform'] }}/${{ matrix.configuration['human_readable_platform'] }}.xcarchive
3434 - name : Upload emulated xcarchive
35- uses : actions/upload-artifact@v3
35+ uses : actions/upload-artifact@v4
3636 with :
3737 name : uploaded-artifact-name
3838 path : ./bindings/**/bin/release/${{ matrix.configuration['human_readable_platform'] }}/${{ matrix.configuration['human_readable_platform'] }}.xcarchive
You can’t perform that action at this time.
0 commit comments