From a1f736d765b9e6ea73b6d7e8a5545323861e8386 Mon Sep 17 00:00:00 2001 From: Evil Eye Date: Wed, 11 Dec 2024 19:41:07 +0100 Subject: [PATCH] Add vcredist --- .github/workflows/windows.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c98e95199d..dbf16158f1 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -116,7 +116,9 @@ jobs: - name: Ensure DLLs end up in the build dir if: ${{ inputs.package }} - run: echo "dlldir=${{ github.workspace }}/build" >> $env:GITHUB_ENV + run: | + cp "${{ env.VCToolsRedistDir }}/vc_redist.x64.exe" "${{ github.workspace }}/build" + echo "dlldir=${{ github.workspace }}/build" >> $env:GITHUB_ENV - name: Copy missing DLLs run: | @@ -147,7 +149,7 @@ jobs: if: ${{ inputs.package }} run: | cpack --config "${{ github.workspace }}/build/CPackConfig.cmake" -B "${{ github.workspace }}/install" - rm -r -f "${{ github.workspace }}/install/_CPack_Packages" + rm -r -Force "${{ github.workspace }}/install/_CPack_Packages" - name: Move pdb files run: |