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: