Update build.yml
Some checks failed
Build and test GAM / build (false, build, 1, Build Intel Ubuntu Jammy, ubuntu-22.04) (push) Has been cancelled
Build and test GAM / build (false, build, 10, Build x86_64 macOS 15, macos-15-intel) (push) Has been cancelled
Build and test GAM / build (false, build, 11, Build x86_64 macOS 26, macos-26-intel) (push) Has been cancelled
Build and test GAM / build (false, build, 12, Build Arm MacOS 26, macos-26) (push) Has been cancelled
Build and test GAM / build (false, build, 13, Build Intel Windows, windows-2025-vs2026) (push) Has been cancelled
Build and test GAM / build (false, build, 14, Build Arm Windows, windows-11-arm) (push) Has been cancelled
Build and test GAM / build (false, build, 2, Build Intel Ubuntu Noble, ubuntu-24.04) (push) Has been cancelled
Build and test GAM / build (false, build, 3, Build Arm Ubuntu Noble, ubuntu-24.04-arm) (push) Has been cancelled
Build and test GAM / build (false, build, 4, Build Arm Ubuntu Jammy, ubuntu-22.04-arm) (push) Has been cancelled
Build and test GAM / build (false, build, 5, Build Intel StaticX Legacy, ubuntu-22.04, yes) (push) Has been cancelled
Build and test GAM / build (false, build, 6, Build Arm StaticX Legacy, ubuntu-22.04-arm, yes) (push) Has been cancelled
Build and test GAM / build (false, build, 8, Build Arm MacOS 14, macos-14) (push) Has been cancelled
Build and test GAM / build (false, build, 9, Build Arm MacOS 15, macos-15) (push) Has been cancelled
Build and test GAM / build (false, test, 15, Test Python 3.10, ubuntu-24.04, 3.10) (push) Has been cancelled
Build and test GAM / build (false, test, 16, Test Python 3.11, ubuntu-24.04, 3.11) (push) Has been cancelled
Build and test GAM / build (false, test, 17, Test Python 3.12, ubuntu-24.04, 3.12) (push) Has been cancelled
Build and test GAM / build (false, test, 18, Test Python 3.13, ubuntu-24.04, 3.13) (push) Has been cancelled
Build and test GAM / build (false, test, 19, Test Python 3.15-dev, ubuntu-24.04, 3.15-dev) (push) Has been cancelled
Build and test GAM / build (true, test, 20, Test Python 3.14 freethread, ubuntu-24.04, 3.14) (push) Has been cancelled
Build and test GAM / publish (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Check for Google Root CA Updates / check-certs (push) Has been cancelled

This commit is contained in:
Jay Lee
2026-03-05 17:16:03 -05:00
committed by GitHub
parent 539b91a27e
commit 71bac7c2eb

View File

@@ -262,50 +262,7 @@ jobs:
with:
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Update Visual Studio
if: runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'
shell: pwsh
run: |
Write-Host "Locating current Visual Studio installation..."
$vswherePath = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe"
$installerPath = "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe"
$vsPath = & $vswherePath -latest -products * -property installationPath
if (-not $vsPath) {
Write-Host "Could not locate Visual Studio installation."
exit 1
}
$verBefore = & $vswherePath -latest -products * -property installationVersion
Write-Host "Found Visual Studio at: $vsPath (Version: $verBefore)"
Write-Host "Applying updates silently via local installer..."
$arguments = "update --installPath `"$vsPath`" --quiet --norestart"
$process = Start-Process -FilePath $installerPath -ArgumentList $arguments -Wait -PassThru
if ($process.ExitCode -eq 0 -or $process.ExitCode -eq 3010) {
$verAfter = & $vswherePath -latest -products * -property installationVersion
Write-Host "Visual Studio updated successfully. (Exit Code: $($process.ExitCode))"
Write-Host "Version upgraded from $verBefore to $verAfter"
} else {
# Changed to Write-Host so the script doesn't abort before dumping the log
Write-Host "Visual Studio update failed with exit code $($process.ExitCode)."
Write-Host "========== BEGIN INSTALLER ERROR LOG =========="
$logFile = Get-ChildItem -Path $env:TEMP -Filter "dd_setup_*.log" | Sort-Object LastWriteTime -Descending | Select-Object -First 1
if ($logFile) {
Write-Host "Dumping error details from: $($logFile.FullName)"
Write-Host "-----------------------------------------------"
Get-Content -Path $logFile.FullName -Tail 75
} else {
Write-Host "No dd_setup log file could be found in $env:TEMP."
}
Write-Host "=========== END INSTALLER ERROR LOG ==========="
exit $process.ExitCode
}
- name: Windows Configure VCode
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
if: runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true'