File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,12 +76,13 @@ jobs:
7676 - name : Install openvpn
7777 if : runner.os == 'Windows'
7878 shell : pwsh
79+ env :
80+ file : " OpenVPN-2.6.14-I001-amd64.msi"
81+ log : " install.log"
7982 run : |
80- curl -L -O https://swupdate.openvpn.org/community/releases/OpenVPN-2.5.3-I601-amd64.msi
81- $file = "OpenVPN-2.5.3-I601-amd64.msi"
82- $log = "install.log"
83- $procMain = Start-Process "msiexec" "/i `"$file`" /qn /l*! `"$log`"" -NoNewWindow -PassThru
84- $procLog = Start-Process "powershell" "Get-Content -Path `"$log`" -Wait" -NoNewWindow -PassThru
83+ curl -L -O "https://swupdate.openvpn.org/community/releases/${{ env.file }}"
84+ $procMain = Start-Process "msiexec" "/i ${{ env.file }} /qn /l*! ${{ env.log }}" -NoNewWindow -PassThru
85+ $procLog = Start-Process "powershell" "Get-Content -Path ${{ env.log }} -Wait" -NoNewWindow -PassThru
8586 $procMain.WaitForExit()
8687 $procLog.Kill()
8788 - name : Partial Clone
You can’t perform that action at this time.
0 commit comments