Skip to content

Commit 894c421

Browse files
seemetherepytorchmergebot
authored andcommitted
ci: Just use regular checkout (#86824)
checkout-pytorch seems to have issues and is purpose made for our PR testing and appears to conflict with what we're trying to do for binary builds. For builds like https://github.com/pytorch/pytorch/actions/runs/3207520052/jobs/5242479607 there is a confusion over where the reference is pulled and I believe it is root caused by the checkout logic in checkout-pytorch. So with that in mind I suggest we just use the upstream checkout action for this job Signed-off-by: Eli Uriegas <eliuriegas@fb.com> Pull Request resolved: #86824 Approved by: https://github.com/atalman
1 parent aacb9f3 commit 894c421

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/docker-release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
paths:
77
- Dockerfile
88
- docker.Makefile
9+
- .github/workflows/docker-release.yml
910
push:
1011
branches:
1112
- nightly
@@ -47,7 +48,10 @@ jobs:
4748
# [see note: pytorch repo ref]
4849
# deep clone (fetch-depth 0) required for git merge-base
4950
- name: Checkout PyTorch
50-
uses: pytorch/pytorch/.github/actions/checkout-pytorch@master
51+
uses: actions/checkout@v3
52+
with:
53+
fetch-depth: 0
54+
submodules: 'recursive'
5155
- name: Setup Linux
5256
uses: ./.github/actions/setup-linux
5357
- name: Setup SSH (Click me for login details)

0 commit comments

Comments
 (0)