File tree Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Expand file tree Collapse file tree 2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change 4242 - name : Assemble artifacts
4343 run : dart ./scripts/build_helpers/bin/assemble_artifacts.dart
4444 - name : ' Upload Artifact'
45- uses : actions/upload-artifact@v3
45+ uses : actions/upload-artifact@v4
4646 with :
4747 name : lib-${{ matrix.postfix }}
4848 path : ./artifacts
49-
49+
50+ assemble_mac_dylib :
51+ runs-on : macos-latest
52+ needs : build
53+ steps :
54+ - uses : actions/download-artifact@v4
55+ with :
56+ name : lib-macos-x64
57+ path : lib-macos-x64
58+ - uses : actions/download-artifact@v4
59+ with :
60+ name : lib-macos-arm64
61+ path : lib-macos-arm64
62+ - run : |
63+ mkdir -p artifacts/bin
64+ mkdir -p artifacts/include
65+ lipo lib-macos-x64/bin/libdart_dll.dylib lib-macos-arm64/bin/libdart_dll.dylib -output artifacts/bin/libdart_dll.dylib -create
66+ cp -r lib-macos-arm64/include/* artifacts/include
67+ - name : ' Upload Artifact'
68+ uses : actions/upload-artifact@v4
69+ with :
70+ name : lib-macos
71+ path : ./artifacts
Original file line number Diff line number Diff line change @@ -5,3 +5,4 @@ artifacts/*
55depot_tools /*
66out /*
77.vs
8+ ** /.DS_Store
You can’t perform that action at this time.
0 commit comments