Get updates and newer ca-certificates in.
Also update the way we install chocolatey
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1002>
###
FEDORA_TAG: '2021-06-30.0'
INDENT_TAG: '2020-10-22.0'
- WINDOWS_TAG: "2021-09-09.0"
+ WINDOWS_TAG: "2021-10-01.0"
GST_UPSTREAM_REPO: 'gstreamer/gst-ci'
Get-Date
Write-Host "Installing Chocolatey"
-Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
+Set-ExecutionPolicy Bypass -Scope Process -Force;
+# Force TLS 1.2
+[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
+iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Import-Module "$env:ProgramData\chocolatey\helpers\chocolateyProfile.psm1"
Update-SessionEnvironment