diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af7862e..066eb88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -78,8 +78,9 @@ jobs: cmake --build . --config Release --target install - name: package run: | - rm -R C:\"Program Files (x86)"\xerces-c\share - rm -R C:\"Program Files (x86)"\xerces-c\bin + Copy-Item "C:\Program Files (x86)\xerces-c\bin\xerces-c_3_2.dll" -Destination "C:\Program Files (x86)\xerces-c\lib" + Remove-Item -LiteralPath "C:\Program Files (x86)\xerces-c\share" -Force -Recurse + Remove-Item -LiteralPath "C:\Program Files (x86)\xerces-c\bin" -Force -Recurse C:\"Program Files"\7-Zip\7z.exe a xerces-c-3.2.4-windows-msvc-2019-x64.zip C:\"Program Files (x86)"\xerces-c\ - uses: actions/upload-artifact@v3 with: @@ -101,7 +102,8 @@ jobs: cmake --build . --config Release cmake --build . --config Release --target install - name: package - run: | + run: | libxerces-c.dll + Copy-Item "C:\Program Files (x86)\xerces-c\bin\libxerces-c.dll" -Destination "C:\Program Files (x86)\xerces-c\lib" Remove-Item -LiteralPath "C:\Program Files (x86)\xerces-c\share" -Force -Recurse Remove-Item -LiteralPath "C:\Program Files (x86)\xerces-c\bin" -Force -Recurse C:\"Program Files"\7-Zip\7z.exe a xerces-c-3.2.4-windows-mingw-x64.zip C:\"Program Files (x86)"\xerces-c\