From 1469d4cc7bd2869df29814bde2dcdaea169eff4f Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Mon, 13 Jun 2022 15:44:43 -0400 Subject: [PATCH] Fix typo in nightly branch ref (#1783) --- .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 defc0a0dba..95ae16a704 100644 --- a/.github/workflows/build-m1-binaries.yml +++ b/.github/workflows/build-m1-binaries.yml @@ -71,7 +71,7 @@ jobs: 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, + ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }} uses: actions/upload-artifact@v3 with: @@ -79,7 +79,7 @@ jobs: path: dist/ - name: Upload wheel to S3 if: - ${{ github.event_name == 'push' && (github.event.ref == 'ref/heads/nightly' || startsWith(github.event.ref, + ${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/nightly' || startsWith(github.event.ref, 'refs/tags/')) }} shell: arch -arch arm64 bash {0} env: