include Steam and Discord API dlls in Windows artifacts

This commit is contained in:
Kae 2024-03-17 00:17:16 +11:00
parent 5499b04e9f
commit 37843e419b
2 changed files with 7 additions and 3 deletions

View File

@ -51,9 +51,9 @@ jobs:
buildPreset: 'windows-release' buildPreset: 'windows-release'
testPreset: 'windows-release' testPreset: 'windows-release'
- name: Tidy Artifacts - name: Run Post-Build Task
working-directory: ${{ github.workspace }} working-directory: ${{ github.workspace }}
run: scripts\ci\windows\tidy.bat run: scripts\ci\windows\post_build.bat
- name: Upload Artifacts - name: Upload Artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4

View File

@ -1,5 +1,9 @@
@echo off @echo off
for %%f in (lib\windows\*.dll) do (
xcopy "%%f" "dist\" /Y
)
for %%f in (dist\*.pdb) do ( for %%f in (dist\*.pdb) do (
echo %%f | find "starbound" > nul || del %%f echo %%f | find "starbound" > nul || del %%f
) )