Fix Windows OpenUSD binary filename pattern in CI

Update the OpenUSD binary download pattern to match the actual release
artifact naming:
- Old: openusd-*-minsizerel-win64.zip
- New: openusd-*-minsizerel-windows-x86_64.zip

This matches the naming convention used in openusd-bin releases where
platform names follow GitHub Actions standard identifiers
(windows-x86_64, linux-x86_64, etc).

Fixes the "no assets match the file pattern" error in Windows CI.
This commit is contained in:
Syoyo Fujita
2026-01-10 22:29:36 +09:00
parent 60b617295e
commit a7a009854e

View File

@@ -40,13 +40,13 @@ jobs:
run: |
gh release download v25.11-lte `
--repo lighttransport/openusd-bin `
--pattern 'openusd-*-minsizerel-win64.zip'
--pattern 'openusd-*-minsizerel-windows-x86_64.zip'
env:
GH_TOKEN: ${{ github.token }}
- name: Extract and setup OpenUSD (Windows x64)
run: |
$archive = Get-ChildItem -Filter "openusd-*-minsizerel-win64.zip" | Select-Object -First 1
$archive = Get-ChildItem -Filter "openusd-*-minsizerel-windows-x86_64.zip" | Select-Object -First 1
Expand-Archive -Path $archive.FullName -DestinationPath . -Force
$usdDir = Get-ChildItem -Directory -Filter "openusd-*" | Select-Object -First 1
echo "USD_INSTALL_ROOT=$($usdDir.FullName)" >> $env:GITHUB_ENV