From b82249b0c236f3ddf4117fd362891ec3ef243c9b Mon Sep 17 00:00:00 2001 From: AnonymusRaccoon Date: Thu, 6 Feb 2020 15:52:11 +0100 Subject: [PATCH] Cleaning up the windows build --- .github/workflows/buildwin.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/buildwin.yml b/.github/workflows/buildwin.yml index d605c92..f992e0d 100644 --- a/.github/workflows/buildwin.yml +++ b/.github/workflows/buildwin.yml @@ -22,8 +22,14 @@ jobs: cmake .. -G "MinGW Makefiles" -DCMAKE_SH="CMAKE_SH-NOTFOUND" -DGITBUILD=true - name: Build with Makefile run: mingw32-make -C build ComSquare + - name: Clean up + run: | + Set-Location build + Remove-Item -Recurse -Path * -Exclude ComSquare.exe,bin/* - name: Copy shared libs - run: Copy-Item -Path 'C:\Program Files\Git\mingw64\bin\*.dll' -Destination build + run: | + Copy-Item -Path build\bin\*.dll -Destination build + Copy-Item -Path 'C:\Program Files\Git\mingw64\bin\*.dll' -Destination build - name: Archive production artifact uses: actions/upload-artifact@v1 with: