diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml index b17505d..37cfb46 100644 --- a/.github/workflows/build_windows.yml +++ b/.github/workflows/build_windows.yml @@ -51,9 +51,9 @@ jobs: buildPreset: 'windows-release' testPreset: 'windows-release' - - name: Tidy Artifacts + - name: Run Post-Build Task working-directory: ${{ github.workspace }} - run: scripts\ci\windows\tidy.bat + run: scripts\ci\windows\post_build.bat - name: Upload Artifacts uses: actions/upload-artifact@v4 diff --git a/scripts/ci/windows/tidy.bat b/scripts/ci/windows/post_build.bat similarity index 56% rename from scripts/ci/windows/tidy.bat rename to scripts/ci/windows/post_build.bat index 0b23ece..594e6d8 100644 --- a/scripts/ci/windows/tidy.bat +++ b/scripts/ci/windows/post_build.bat @@ -1,5 +1,9 @@ @echo off +for %%f in (lib\windows\*.dll) do ( + xcopy "%%f" "dist\" /Y +) + for %%f in (dist\*.pdb) do ( echo %%f | find "starbound" > nul || del %%f -) \ No newline at end of file +)