1 parent 04ad74f commit 3eb40a9Copy full SHA for 3eb40a9
1 file changed
.github/workflows/main.yml
@@ -220,9 +220,18 @@ jobs:
220
221
mkdir -p ./nuget/uno.icu-wasm/buildTransitive/native/unoicu.a
222
pushd merged-artifacts
223
+ shopt -s nullglob
224
for dir in unoicu-*; do
- cp -R "$dir"/unoicu.a/* ../nuget/uno.icu-wasm/buildTransitive/native/unoicu.a/
225
+ SRC_BASE="$dir/unoicu.a"
226
+ if [ ! -d "$SRC_BASE" ]; then
227
+ SRC_BASE="$dir"
228
+ fi
229
+
230
+ find "$SRC_BASE" -mindepth 1 -maxdepth 1 -type d ! -name '*nosimd*' -print0 | while IFS= read -r -d '' version_dir; do
231
+ cp -R "$version_dir" ../nuget/uno.icu-wasm/buildTransitive/native/unoicu.a/
232
+ done
233
done
234
+ find ../nuget/uno.icu-wasm/buildTransitive/native/unoicu.a -type d -name '*nosimd*' -exec rm -rf {} +
235
popd
236
237
- name: List files
0 commit comments