File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 66 push :
77 branches :
88 - nightly
9+ - release/*
910 tags :
1011 # NOTE: Binary build pipelines should only get triggered on release candidate builds
1112 # Release candidate tags look like: v1.11.0-rc1
3031 if [[ ${GITHUB_REF_NAME} = *-rc[0-9]* ]]; then
3132 echo "CHANNEL=test" >> "$GITHUB_ENV"
3233 fi
34+ - name : Set Release CHANNEL (for release)
35+ if : ${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
36+ run : |
37+ echo "CHANNEL=test" >> "$GITHUB_ENV"
3338 - name : Build TorchAudio M1 wheel
3439 shell : arch -arch arm64 bash {0}
3540 env :
@@ -108,6 +113,10 @@ jobs:
108113 if [[ ${GITHUB_REF_NAME} = *-rc[0-9]* ]]; then
109114 echo "CHANNEL=test" >> "$GITHUB_ENV"
110115 fi
116+ - name : Set Release CHANNEL (for release)
117+ if : ${{ (github.event_name == 'pull_request' && startsWith(github.base_ref, 'release')) || startsWith(github.ref, 'refs/heads/release') }}
118+ run : |
119+ echo "CHANNEL=test" >> "$GITHUB_ENV"
111120 - name : Install conda-build and purge previous artifacts
112121 shell : arch -arch arm64 bash {0}
113122 run : |
@@ -132,8 +141,8 @@ jobs:
132141 if [[ $CHANNEL == "test" ]]; then
133142 setup_cuda
134143 setup_base_build_version
135- export CONDA_CHANNEL_FLAGS="pytorch-test"
136- etup_macos
144+ export CONDA_CHANNEL_FLAGS="-c pytorch-test"
145+ setup_macos
137146 else
138147 setup_cuda
139148 setup_build_version
You can’t perform that action at this time.
0 commit comments