Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build_windows.yml4
-rw-r--r--scripts/ci/windows/post_build.bat (renamed from scripts/ci/windows/tidy.bat)6
2 files changed, 7 insertions, 3 deletions
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
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
+)