File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1010 include :
1111 - os : windows-latest
1212 arch : x64
13- cmake-args : -A x64 -DCMAKE_CXX_FLAGS="/W0 /MD / MT" -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
13+ cmake-args : -A x64 -DCMAKE_CXX_FLAGS="/W0 /MT" -DBUILD_STATIC_LIB=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TOOLS=OFF -DBUILD_TESTS=OFF
1414 runtime : win-x64
1515 - os : windows-latest
1616 arch : x86
4747 - name : Copy to NuGet runtime folder
4848 run : |
4949 mkdir -p package/runtimes/${{ matrix.runtime }}/native
50- cp binaryen/build/Release/* package/runtimes/${{ matrix.runtime }}/native/ || cp binaryen/build/* package/runtimes/${{ matrix.runtime }}/native/
50+ if [ -d "binaryen/build/Release" ]; then
51+ cp -r binaryen/build/Release/* package/runtimes/${{ matrix.runtime }}/native/
52+ else
53+ cp -r binaryen/build/* package/runtimes/${{ matrix.runtime }}/native/
54+ fi
55+ shell : bash
5156
5257 # Upload artifacts
5358 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments