From 43bb2cc6bac2e991c70c73a1bd8bbf2186a1d531 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Mon, 13 Jun 2022 13:04:26 -0700 Subject: [PATCH] Fix typo in nightly m1 ref (#2474) Summary: Fix typo in nightly m1 ref See: https://github.com/pytorch/vision/pull/6158 Pull Request resolved: https://github.com/pytorch/audio/pull/2474 Reviewed By: malfet, mthrok Differential Revision: D37117637 Pulled By: atalman fbshipit-source-id: 2a8f7b5bf3506f2a53884424799919137870a0ad --- .github/workflows/build-m1-binaries.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-m1-binaries.yml b/.github/workflows/build-m1-binaries.yml index 8d5b2b16f6..458d7ca27b 100644 --- a/.github/workflows/build-m1-binaries.yml +++ b/.github/workflows/build-m1-binaries.yml @@ -70,13 +70,13 @@ jobs: conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torch;import torchaudio;torchaudio.set_audio_backend('sox_io')" conda env remove -p ${ENV_NAME} - name: Upload wheel to GitHub - if: ${{ github.event_name == 'push' && (github.event.ref == 'ref/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }} + if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }} uses: actions/upload-artifact@v3 with: name: torchaudio-py${{ matrix.py_vers }}-macos11-m1 path: dist/ - name: Upload wheel to S3 - if: ${{ github.event_name == 'push' && (github.event.ref == 'ref/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }} + if: ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }} shell: arch -arch arm64 bash {0} env: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_PYTORCH_UPLOADER_ACCESS_KEY_ID }}