Skip to content

Commit

Permalink
ci: Just use regular checkout (pytorch#86824)
Browse files Browse the repository at this point in the history
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: pytorch#86824
Approved by: https://github.com/atalman
  • Loading branch information
seemethere authored and atalman committed Oct 13, 2022
1 parent 786431c commit 988dc88
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
paths:
- Dockerfile
- docker.Makefile
- .github/workflows/docker-release.yml
push:
branches:
- nightly
Expand Down Expand Up @@ -47,7 +48,10 @@ jobs:
# [see note: pytorch repo ref]
# deep clone (fetch-depth 0) required for git merge-base
- name: Checkout PyTorch
uses: pytorch/pytorch/.github/actions/checkout-pytorch@master
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'recursive'
- name: Setup Linux
uses: ./.github/actions/setup-linux
- name: Setup SSH (Click me for login details)
Expand Down

0 comments on commit 988dc88

Please sign in to comment.