From 37843e419b7ac6075297fb2138ad216f33278d97 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sun, 17 Mar 2024 00:17:16 +1100 Subject: [PATCH] include Steam and Discord API dlls in Windows artifacts --- .github/workflows/build_windows.yml | 4 ++-- scripts/ci/windows/{tidy.bat => post_build.bat} | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) rename scripts/ci/windows/{tidy.bat => post_build.bat} (56%) 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 +)