Skip to content

Commit 38e4922

Browse files
update workflow
1 parent f060536 commit 38e4922

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/build_wheel_windows_arm64.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
name: torchvision Build
22

33
on:
4+
pull_request:
45
push:
6+
branches:
7+
- nightly
8+
- main
9+
- release/*
10+
tags:
11+
# NOTE: Binary build pipelines should only get triggered on release candidate builds
12+
# Release candidate tags look like: v1.11.0-rc1
13+
- v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+
514
workflow_dispatch:
615
inputs:
716
python_version:
@@ -52,6 +61,10 @@ on:
5261
default: "2.6.0"
5362
type: string
5463

64+
permissions:
65+
id-token: write
66+
contents: read
67+
5568
jobs:
5669
trigger-test-infra:
5770
uses: alinpahontu2912/test-infra/.github/workflows/build_wheels_windows_arm64.yml@winarm64_wheels
@@ -60,6 +73,6 @@ jobs:
6073
repository_branch: ${{ inputs.repository_branch }}
6174
python_version: ${{ inputs.python_version || 'Python312' }}
6275
msvc_version: ${{ inputs.msvc_version || 'latest' }}
63-
pytorch_build_run_id: ${{ inputs.pytorch_build_run_id }}
76+
pytorch_build_run_id: ${{ inputs.pytorch_build_run_id || '13589031393' }}
6477
build_type: ${{ inputs.build_type || 'Release' }}
6578
build_version: ${{ inputs.build_version }}

0 commit comments

Comments
 (0)