chore: force tls 1.2 for release uploads

This commit is contained in:
Codex
2026-06-06 12:53:39 +07:00
parent b5f6952ad2
commit 8196bd3351

View File

@@ -30,6 +30,10 @@ param(
$ErrorActionPreference = 'Stop' $ErrorActionPreference = 'Stop'
# Windows PowerShell 5.1 can default to older TLS settings and fail against
# modern HTTPS endpoints before curl.exe gets a chance to upload assets.
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12
$repoOwner = 'AnRil' $repoOwner = 'AnRil'
$repoName = 'laude' $repoName = 'laude'
$giteaHost = 'git.xn--90adajar8af4h.xn--p1ai' $giteaHost = 'git.xn--90adajar8af4h.xn--p1ai'