Skip to content

Commit c87be16

Browse files
authored
Use @release/2.3 instead of @main for CI jobs (#8330)
1 parent 9cb639a commit c87be16

13 files changed

+30
-30
lines changed

.github/workflows/build-cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
gpu-arch-type: cuda
2121
gpu-arch-version: "11.8"
2222
fail-fast: false
23-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
23+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
2424
with:
2525
repository: pytorch/vision
2626
runner: ${{ matrix.runner }}
@@ -43,7 +43,7 @@ jobs:
4343
- runner: macos-12
4444
- runner: macos-m1-stable
4545
fail-fast: false
46-
uses: pytorch/test-infra/.github/workflows/macos_job.yml@main
46+
uses: pytorch/test-infra/.github/workflows/macos_job.yml@release/2.3
4747
with:
4848
repository: pytorch/vision
4949
runner: ${{ matrix.runner }}
@@ -67,7 +67,7 @@ jobs:
6767
gpu-arch-type: cuda
6868
gpu-arch-version: "11.8"
6969
fail-fast: false
70-
uses: pytorch/test-infra/.github/workflows/windows_job.yml@main
70+
uses: pytorch/test-infra/.github/workflows/windows_job.yml@release/2.3
7171
with:
7272
repository: pytorch/vision
7373
runner: ${{ matrix.runner }}

.github/workflows/build-conda-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
1919
with:
2020
package-type: conda
2121
os: linux
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_test.py
3535
package-name: torchvision
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_linux.yml@release/2.3
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}

.github/workflows/build-conda-m1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
1919
with:
2020
package-type: conda
2121
os: macos-arm64
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_test.py
3535
package-name: torchvision
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_macos.yml@release/2.3
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}

.github/workflows/build-conda-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515

1616
jobs:
1717
generate-matrix:
18-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
18+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
1919
with:
2020
package-type: conda
2121
os: windows
@@ -34,7 +34,7 @@ jobs:
3434
smoke-test-script: test/smoke_test.py
3535
package-name: torchvision
3636
name: ${{ matrix.repository }}
37-
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@main
37+
uses: pytorch/test-infra/.github/workflows/build_conda_windows.yml@release/2.3
3838
with:
3939
conda-package-directory: ${{ matrix.conda-package-directory }}
4040
repository: ${{ matrix.repository }}

.github/workflows/build-wheels-aarch64-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
2323
with:
2424
package-type: wheel
2525
os: linux-aarch64
@@ -38,7 +38,7 @@ jobs:
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchvision
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.3
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""

.github/workflows/build-wheels-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
2323
with:
2424
package-type: wheel
2525
os: linux
@@ -37,7 +37,7 @@ jobs:
3737
smoke-test-script: test/smoke_test.py
3838
package-name: torchvision
3939
name: ${{ matrix.repository }}
40-
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@main
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.3
4141
with:
4242
repository: ${{ matrix.repository }}
4343
ref: ""

.github/workflows/build-wheels-m1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
2323
with:
2424
package-type: wheel
2525
os: macos-arm64
@@ -37,7 +37,7 @@ jobs:
3737
smoke-test-script: test/smoke_test.py
3838
package-name: torchvision
3939
name: ${{ matrix.repository }}
40-
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@main
40+
uses: pytorch/test-infra/.github/workflows/build_wheels_macos.yml@release/2.3
4141
with:
4242
repository: ${{ matrix.repository }}
4343
ref: ""

.github/workflows/build-wheels-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
generate-matrix:
22-
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@main
22+
uses: pytorch/test-infra/.github/workflows/generate_binary_build_matrix.yml@release/2.3
2323
with:
2424
package-type: wheel
2525
os: windows
@@ -38,7 +38,7 @@ jobs:
3838
smoke-test-script: test/smoke_test.py
3939
package-name: torchvision
4040
name: ${{ matrix.repository }}
41-
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@main
41+
uses: pytorch/test-infra/.github/workflows/build_wheels_windows.yml@release/2.3
4242
with:
4343
repository: ${{ matrix.repository }}
4444
ref: ""

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414

1515
jobs:
1616
build:
17-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
17+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
1818
with:
1919
repository: pytorch/vision
2020
upload-artifact: docs
@@ -81,7 +81,7 @@ jobs:
8181
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
8282
permissions:
8383
contents: write
84-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
84+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
8585
with:
8686
repository: pytorch/vision
8787
download-artifact: docs

.github/workflows/lint.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
python-source-and-configs:
14-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
14+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
1515
with:
1616
repository: pytorch/vision
1717
test-infra-ref: main
@@ -38,7 +38,7 @@ jobs:
3838
fi
3939
4040
c-source:
41-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
41+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
4242
with:
4343
repository: pytorch/vision
4444
test-infra-ref: main
@@ -73,7 +73,7 @@ jobs:
7373
7474
7575
python-types:
76-
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
76+
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
7777
with:
7878
repository: pytorch/vision
7979
test-infra-ref: main
@@ -103,7 +103,7 @@ jobs:
103103
runs-on: ubuntu-latest
104104
steps:
105105
- name: Run BC Lint Action
106-
uses: pytorch/test-infra/.github/actions/bc-lint@main
106+
uses: pytorch/test-infra/.github/actions/bc-lint@release/2.3
107107
with:
108108
repo: ${{ github.event.pull_request.head.repo.full_name }}
109109
base_sha: ${{ github.event.pull_request.base.sha }}

0 commit comments

Comments
 (0)