Skip to content

Commit

Permalink
Don't delete folders (not like it matters)
Browse files Browse the repository at this point in the history
  • Loading branch information
MolotovCherry committed Nov 11, 2024
1 parent 06ed788 commit 1366cf9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,23 +101,19 @@ jobs:
# watcher
Get-ChildItem -Path target/*/*watcher.exe,target/*/loader.dll,assets/*,assets-watcher/* | Copy-Item -Destination "_staging-watcher/bin"
Compress-Archive -Path "_staging-watcher" -CompressionLevel Optimal -DestinationPath "yet-another-bg3-native-mod-loader-watcher-x64.zip"
Get-ChildItem -Path "_staging-watcher" -Recurse | Remove-Item -Force
# injector
Get-ChildItem -Path target/*/*injector.exe,target/*/loader.dll,assets/*,assets-injector/* | Copy-Item -Destination "_staging-injector/bin"
Compress-Archive -Path "_staging-injector" -CompressionLevel Optimal -DestinationPath "yet-another-bg3-native-mod-loader-injector-x64.zip"
Get-ChildItem -Path "_staging-injector" -Recurse | Remove-Item -Force
# autostart
Get-ChildItem -Path target/*/*autostart*.exe,target/*/loader.dll,assets/*,assets-autostart/* | Copy-Item -Destination "_staging-autostart/bin"
Compress-Archive -Path "_staging-autostart" -CompressionLevel Optimal -DestinationPath "yet-another-bg3-native-mod-loader-autostart-x64.zip"
Get-ChildItem -Path "_staging-autostart" -Recurse | Remove-Item -Force
# debug symbols
Get-ChildItem -Path target/*/*.pdb,assets-dbg/* | Copy-Item -Destination "_staging-debug"
$files = Get-ChildItem -Path _staging-debug/*
Compress-Archive -CompressionLevel Optimal -Path $files.FullName -DestinationPath "yet-another-bg3-native-mod-loader-dbg-symbols-x64.zip"
Get-ChildItem -Path "_staging-debug" -Recurse | Remove-Item -Force
- name: Attach assets to release
if: github.event_name == 'release' || inputs.release
Expand Down

0 comments on commit 1366cf9

Please sign in to comment.