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 14
14
python3 ./scripts/symlink_resolver.py /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LightningDevKit-no-symlinks.xcframework
15
15
ditto -c -k --sequesterRsrc --keepParent /Users/runner/work/ldk-swift/ldk-swift/bindings/bin/release/LightningDevKit-no-symlinks.xcframework LightningDevKit-no-symlinks.xcframework.zip
16
16
- name : Upload Framework Artifact
17
- uses : actions/upload-artifact@v3
17
+ uses : actions/upload-artifact@v4
18
18
with :
19
19
name : LightningDevKit
20
20
path : |
Original file line number Diff line number Diff line change 57
57
- name : Xcarchive hack
58
58
run : touch ./bindings_root.txt
59
59
- name : Upload xcarchive
60
- uses : actions/upload-artifact@v3
60
+ uses : actions/upload-artifact@v4
61
61
with :
62
- name : bindings
62
+ name : bindings-${{ matrix.configuration['human_readable_platform'] }}
63
63
path : ./bindings/**/bin/release/${{ matrix.configuration['human_readable_platform'] }}/${{ matrix.configuration['human_readable_platform'] }}.xcarchive
64
64
65
65
generate :
77
77
- name : Checkout
78
78
uses : actions/checkout@v3
79
79
- 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"
81
91
- name : Generate xcframework
82
92
shell : bash
83
93
run :
Original file line number Diff line number Diff line change 65
65
LLVM_TARGET_TRIPLE_SUFFIX : ${{ matrix.configuration['llvm_target_triple_suffix'] }}
66
66
ARCHS : ${{ matrix.configuration['architectures'] }}
67
67
- name : Upload binary
68
- uses : actions/upload-artifact@v3
68
+ uses : actions/upload-artifact@v4
69
69
with :
70
- name : bindings
70
+ name : bindings-${{ matrix.configuration['human_readable_platform'] }}
71
71
path : |
72
72
./bindings/**/artifacts/ldk-c-bindings/lightning-c-bindings/include/*.h
73
73
./bindings/**/artifacts/ldk-c-bindings/ldk-net/ldk_net.*
87
87
- name : Checkout
88
88
uses : actions/checkout@v3
89
89
- 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"
91
101
- name : Generate Swift Bindings
92
102
shell : bash
93
103
run : |
Original file line number Diff line number Diff line change 32
32
mkdir -p ./bindings/bin/release/${{ matrix.configuration['human_readable_platform'] }}
33
33
touch ./bindings/bin/release/${{ matrix.configuration['human_readable_platform'] }}/${{ matrix.configuration['human_readable_platform'] }}.xcarchive
34
34
- name : Upload emulated xcarchive
35
- uses : actions/upload-artifact@v3
35
+ uses : actions/upload-artifact@v4
36
36
with :
37
37
name : uploaded-artifact-name
38
38
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