Skip to content

Commit fc0fe8f

Browse files
authored
[Release only] Use release/2.3 instead of main for test-infra-ref (#8347)
1 parent 4f19b9b commit fc0fe8f

12 files changed

+29
-29
lines changed

.github/workflows/build-cmake.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runner: ${{ matrix.runner }}
2727
gpu-arch-type: ${{ matrix.gpu-arch-type }}
2828
gpu-arch-version: ${{ matrix.gpu-arch-version }}
29-
test-infra-ref: main
29+
test-infra-ref: release/2.3
3030
script: |
3131
set -euo pipefail
3232
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
repository: pytorch/vision
4949
runner: ${{ matrix.runner }}
50-
test-infra-ref: main
50+
test-infra-ref: release/2.3
5151
script: |
5252
set -euo pipefail
5353
@@ -73,7 +73,7 @@ jobs:
7373
runner: ${{ matrix.runner }}
7474
gpu-arch-type: ${{ matrix.gpu-arch-type }}
7575
gpu-arch-version: ${{ matrix.gpu-arch-version }}
76-
test-infra-ref: main
76+
test-infra-ref: release/2.3
7777
script: |
7878
set -euo pipefail
7979

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
package-type: conda
2121
os: linux
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.3
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -40,7 +40,7 @@ jobs:
4040
repository: ${{ matrix.repository }}
4141
ref: ""
4242
test-infra-repository: pytorch/test-infra
43-
test-infra-ref: main
43+
test-infra-ref: release/2.3
4444
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4545
pre-script: ${{ matrix.pre-script }}
4646
post-script: ${{ matrix.post-script }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
package-type: conda
2121
os: macos-arm64
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.3
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -40,7 +40,7 @@ jobs:
4040
repository: ${{ matrix.repository }}
4141
ref: ""
4242
test-infra-repository: pytorch/test-infra
43-
test-infra-ref: main
43+
test-infra-ref: release/2.3
4444
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4545
pre-script: ${{ matrix.pre-script }}
4646
post-script: ${{ matrix.post-script }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
package-type: conda
2121
os: windows
2222
test-infra-repository: pytorch/test-infra
23-
test-infra-ref: main
23+
test-infra-ref: release/2.3
2424
build:
2525
needs: generate-matrix
2626
strategy:
@@ -40,7 +40,7 @@ jobs:
4040
repository: ${{ matrix.repository }}
4141
ref: ""
4242
test-infra-repository: pytorch/test-infra
43-
test-infra-ref: main
43+
test-infra-ref: release/2.3
4444
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4545
pre-script: ${{ matrix.pre-script }}
4646
post-script: ${{ matrix.post-script }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
package-type: wheel
2525
os: linux-aarch64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.3
2828
with-cuda: disable
2929
build:
3030
needs: generate-matrix
@@ -43,7 +43,7 @@ jobs:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.3
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
pre-script: ${{ matrix.pre-script }}
4949
post-script: ${{ matrix.post-script }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
package-type: wheel
2525
os: linux
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.3
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -42,7 +42,7 @@ jobs:
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: main
45+
test-infra-ref: release/2.3
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
pre-script: ${{ matrix.pre-script }}
4848
post-script: ${{ matrix.post-script }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
package-type: wheel
2525
os: macos-arm64
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.3
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -42,7 +42,7 @@ jobs:
4242
repository: ${{ matrix.repository }}
4343
ref: ""
4444
test-infra-repository: pytorch/test-infra
45-
test-infra-ref: main
45+
test-infra-ref: release/2.3
4646
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4747
pre-script: ${{ matrix.pre-script }}
4848
post-script: ${{ matrix.post-script }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
package-type: wheel
2525
os: windows
2626
test-infra-repository: pytorch/test-infra
27-
test-infra-ref: main
27+
test-infra-ref: release/2.3
2828
build:
2929
needs: generate-matrix
3030
strategy:
@@ -43,7 +43,7 @@ jobs:
4343
repository: ${{ matrix.repository }}
4444
ref: ""
4545
test-infra-repository: pytorch/test-infra
46-
test-infra-ref: main
46+
test-infra-ref: release/2.3
4747
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
4848
pre-script: ${{ matrix.pre-script }}
4949
env-script: ${{ matrix.env-script }}

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
repository: pytorch/vision
2020
upload-artifact: docs
21-
test-infra-ref: main
21+
test-infra-ref: release/2.3
2222
script: |
2323
set -euo pipefail
2424
@@ -77,7 +77,7 @@ jobs:
7777
7878
upload:
7979
needs: build
80-
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
80+
if: github.repository == 'pytorch/vision' && github.event_name == 'push' &&
8181
((github.ref_type == 'branch' && github.ref_name == 'main') || github.ref_type == 'tag')
8282
permissions:
8383
contents: write
@@ -86,7 +86,7 @@ jobs:
8686
repository: pytorch/vision
8787
download-artifact: docs
8888
ref: gh-pages
89-
test-infra-ref: main
89+
test-infra-ref: release/2.3
9090
script: |
9191
set -euo pipefail
9292

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
1515
with:
1616
repository: pytorch/vision
17-
test-infra-ref: main
17+
test-infra-ref: release/2.3
1818
script: |
1919
set -euo pipefail
2020
@@ -41,7 +41,7 @@ jobs:
4141
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
4242
with:
4343
repository: pytorch/vision
44-
test-infra-ref: main
44+
test-infra-ref: release/2.3
4545
script: |
4646
set -euo pipefail
4747
@@ -76,7 +76,7 @@ jobs:
7676
uses: pytorch/test-infra/.github/workflows/linux_job.yml@release/2.3
7777
with:
7878
repository: pytorch/vision
79-
test-infra-ref: main
79+
test-infra-ref: release/2.3
8080
script: |
8181
set -euo pipefail
8282

0 commit comments

Comments
 (0)