File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 6
6
push :
7
7
branches :
8
8
- nightly
9
+ - release/*
9
10
tags :
10
11
# NOTE: Binary build pipelines should only get triggered on release candidate builds
11
12
# Release candidate tags look like: v1.11.0-rc1
30
31
if [[ ${GITHUB_REF_NAME} = *-rc[0-9]* ]]; then
31
32
echo "CHANNEL=test" >> "$GITHUB_ENV"
32
33
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"
33
38
- name : Build TorchAudio M1 wheel
34
39
shell : arch -arch arm64 bash {0}
35
40
env :
@@ -108,6 +113,10 @@ jobs:
108
113
if [[ ${GITHUB_REF_NAME} = *-rc[0-9]* ]]; then
109
114
echo "CHANNEL=test" >> "$GITHUB_ENV"
110
115
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"
111
120
- name : Install conda-build and purge previous artifacts
112
121
shell : arch -arch arm64 bash {0}
113
122
run : |
@@ -132,8 +141,8 @@ jobs:
132
141
if [[ $CHANNEL == "test" ]]; then
133
142
setup_cuda
134
143
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
137
146
else
138
147
setup_cuda
139
148
setup_build_version
You can’t perform that action at this time.
0 commit comments