From 4d6e325119cc21867b3ab35b787fede347e03294 Mon Sep 17 00:00:00 2001 From: Alexander-Porter Date: Mon, 8 Jul 2024 08:27:44 +0800 Subject: [PATCH] Fix no dll error --- .github/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45e2229..3744d4b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -51,6 +51,8 @@ jobs: cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="C:/Program Files (x86)/aws" -DBUILD_ONLY="s3" cmake --build . --config=${{matrix.build-type}} cmake --install . --config=${{matrix.build-type}} + #使用xcopy复制C:\Program Files (x86)\aws\bin下的所有dll到build/${{ matrix.build-type }}文件夹,自动覆盖 + xcopy "C:\Program Files (x86)\aws\bin" "${{ matrix.build-type }}" /s /y cd ../.. #display the content of the directory