File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -103,14 +103,13 @@ jobs:
103103
104104 Set-Location build/package/addons/swiftly
105105
106- $client = new-object System.Net.WebClient
107- $client.DownloadFile("https://github.com/swiftly-solution/admins/releases/latest/download/Swiftly.Plugin.Admins.zip","Swiftly.Plugin.Admins.zip")
106+ Invoke-WebRequest https://github.com/swiftly-solution/admins/releases/latest/download/Swiftly.Plugin.Admins.zip -OutFile Swiftly.Plugin.Admins.zip
108107 Expand-Archive Swiftly.Plugin.Admins.zip -DestinationPath .
109- $client.DownloadFile(" https://github.com/swiftly-solution/admins_basecomms/releases/latest/download/Swiftly.Plugin.Admins.BaseComms.zip"," Swiftly.Plugin.Admins.BaseComms.zip")
108+ Invoke-WebRequest https://github.com/swiftly-solution/admins_basecomms/releases/latest/download/Swiftly.Plugin.Admins.BaseComms.zip -OutFile Swiftly.Plugin.Admins.BaseComms.zip
110109 Expand-Archive Swiftly.Plugin.Admins.BaseComms.zip -DestinationPath .
111- $client.DownloadFile(" https://github.com/swiftly-solution/admins_basebans/releases/latest/download/Swiftly.Plugin.Admins.BaseBans.zip"," Swiftly.Plugin.Admins.BaseBans.zip")
110+ Invoke-WebRequest https://github.com/swiftly-solution/admins_basebans/releases/latest/download/Swiftly.Plugin.Admins.BaseBans.zip -OutFile Swiftly.Plugin.Admins.BaseBans.zip
112111 Expand-Archive Swiftly.Plugin.Admins.BaseBans.zip -DestinationPath .
113- $client.DownloadFile(" https://github.com/swiftly-solution/admins_commands/releases/latest/download/Swiftly.Plugin.Admins.BaseCommands.zip"," Swiftly.Plugin.Admins.BaseCommands.zip")
112+ Invoke-WebRequest https://github.com/swiftly-solution/admins_commands/releases/latest/download/Swiftly.Plugin.Admins.BaseCommands.zip -OutFile Swiftly.Plugin.Admins.BaseCommands.zip
114113 Expand-Archive Swiftly.Plugin.Admins.BaseCommands.zip -DestinationPath .
115114
116115 Remove-Item -Force Swiftly.Plugin.Admins.zip
You can’t perform that action at this time.
0 commit comments