Skip to content

Commit 4b906be

Browse files
committed
fix(builder): Not removing archives
1 parent 638db10 commit 4b906be

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/builder.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ jobs:
8686
unzip Swiftly.Plugin.Admins.BaseBans.zip
8787
wget https://github.com/swiftly-solution/admins_commands/releases/latest/download/Swiftly.Plugin.Admins.BaseCommands.zip
8888
unzip Swiftly.Plugin.Admins.BaseCommands.zip
89+
90+
rm -rf Swiftly.Plugin.Admins.zip
91+
rm -rf Swiftly.Plugin.Admins.BaseComms.zip
92+
rm -rf Swiftly.Plugin.Admins.BaseBans.zip
93+
rm -rf Swiftly.Plugin.Admins.BaseCommands.zip
94+
8995
cd ../../../..
9096
echo "[Builder] Finished setting up default plugins"
9197
@@ -95,7 +101,7 @@ jobs:
95101
run: |
96102
./setup.ps1
97103
98-
cd build/package/addons/swiftly
104+
Set-Location build/package/addons/swiftly
99105
100106
$client = new-object System.Net.WebClient
101107
$client.DownloadFile("https://github.com/swiftly-solution/admins/releases/latest/download/Swiftly.Plugin.Admins.zip","Swiftly.Plugin.Admins.zip")
@@ -107,7 +113,12 @@ jobs:
107113
$client.DownloadFile("https://github.com/swiftly-solution/admins_commands/releases/latest/download/Swiftly.Plugin.Admins.BaseCommands.zip","Swiftly.Plugin.Admins.BaseCommands.zip")
108114
Expand-Archive Swiftly.Plugin.Admins.BaseCommands.zip -DestinationPath .
109115
110-
cd ../../../..
116+
Remove-Item -Force Swiftly.Plugin.Admins.zip
117+
Remove-Item -Force Swiftly.Plugin.Admins.BaseComms.zip
118+
Remove-Item -Force Swiftly.Plugin.Admins.BaseBans.zip
119+
Remove-Item -Force Swiftly.Plugin.Admins.BaseCommands.zip
120+
121+
Set-Location ../../../..
111122
112123
- name: Upload Artifacts Linux
113124
if: matrix.os == 'Linux'

0 commit comments

Comments
 (0)