Skip to content

Commit 94add51

Browse files
update workflow
1 parent c97f7e5 commit 94add51

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed
Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Windows Arm64 Wheels
1+
name: Build Windows X64 Wheels
22

33
on:
44
pull_request:
@@ -20,6 +20,7 @@ on:
2020
options:
2121
- Python312
2222
- Python311
23+
default: Python312
2324
msvc_version:
2425
description: "MSVC Version"
2526
required: true
@@ -28,38 +29,30 @@ on:
2829
- 'latest'
2930
- '14.40'
3031
- '14.36'
31-
pytorch_build_run_id:
32-
description: "PyTorch build run id for downloading the wheel artifact (number at the end of build run URL)"
33-
required: true
34-
default: "13589031393"
35-
type: string
36-
pytorch_build_artifact_name:
37-
description: "Artifact name of PyTorch build run"
38-
required: true
39-
default: "pytorch-wheel"
40-
type: string
32+
default: 'latest'
4133
build_type:
4234
description: "Build type"
4335
required: true
4436
type: choice
4537
options:
4638
- Release
4739
# - Debug (not supported for wheel)
40+
default: Release
4841
repository_name:
4942
description: "torchvision repository (username/repo)"
5043
required: true
51-
default: "pytorch/vision"
5244
type: string
45+
default: "pytorch/vision"
5346
repository_branch:
5447
description: "repository branch"
5548
required: true
56-
default: "main"
5749
type: string
50+
default: "main"
5851
build_version:
59-
description: "Optional: build version for wheel file name (e.g. 2.6.0); otherwise leave empty for default naming"
52+
description: "Optional: build version for wheel file name (e.g. 2.6.0); leave empty for default naming"
6053
required: false
61-
default: "2.6.0"
6254
type: string
55+
default: ""
6356

6457
permissions:
6558
id-token: write
@@ -69,10 +62,9 @@ jobs:
6962
trigger-test-infra:
7063
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels
7164
with:
72-
repository_name: ${{ inputs.repository_name }}
73-
repository_branch: ${{ inputs.repository_branch }}
7465
python_version: ${{ inputs.python_version || 'Python312' }}
75-
msvc_version: ${{ inputs.msvc_version || 'latest' }}
76-
pytorch_build_run_id: ${{ inputs.pytorch_build_run_id || '13589031393' }}
66+
msvc_version: ${{ inputs.msvc_version || 'latest' }}
7767
build_type: ${{ inputs.build_type || 'Release' }}
78-
build_version: ${{ inputs.build_version }}
68+
repository_name: ${{ inputs.repository_name || 'pytorch/vision' }}
69+
repository_branch: ${{ inputs.repository_branch || 'main' }}
70+
build_version: ${{ inputs.build_version || '' }}

0 commit comments

Comments
 (0)