Skip to content

Commit 68b1127

Browse files
authored
Fix typo in nightly m1 ref (#2474) (#2476)
Summary: Fix typo in nightly m1 ref See: pytorch/vision#6158 Pull Request resolved: #2474 Reviewed By: malfet, mthrok Differential Revision: D37117637 Pulled By: atalman fbshipit-source-id: 2a8f7b5bf3506f2a53884424799919137870a0ad
1 parent ff034cb commit 68b1127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ jobs:
7070
conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torch;import torchaudio;torchaudio.set_audio_backend('sox_io')"
7171
conda env remove -p ${ENV_NAME}
7272
- name: Upload wheel to GitHub
73-
if: ${{ github.event_name == 'push' && (github.event.ref == 'ref/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }}
73+
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }}
7474
uses: actions/upload-artifact@v3
7575
with:
7676
name: torchaudio-py${{ matrix.py_vers }}-macos11-m1
7777
path: dist/
7878
- name: Upload wheel to S3
79-
if: ${{ github.event_name == 'push' && (github.event.ref == 'ref/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }}
79+
if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }}
8080
shell: arch -arch arm64 bash {0}
8181
env:
8282
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}

0 commit comments

Comments
 (0)