Skip to content

Commit 45a1070

Browse files
committed
Making sure channel flag is set correctly
Use only 1 channel
1 parent 48a45ea commit 45a1070

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,11 +137,11 @@ jobs:
137137
set -ex
138138
. packaging/pkg_helpers.bash
139139
140-
export CONDA_CHANNEL_FLAGS=""
140+
export CONDA_CHANNEL=" -c pytorch-nightly"
141141
if [[ $CHANNEL == "test" ]]; then
142142
setup_cuda
143143
setup_base_build_version
144-
export CONDA_CHANNEL_FLAGS="pytorch-test"
144+
export CONDA_CHANNEL="-c pytorch-test"
145145
setup_macos
146146
else
147147
setup_cuda
@@ -156,7 +156,7 @@ jobs:
156156
setup_conda_pytorch_constraint
157157
setup_conda_cudatoolkit_constraint
158158
setup_visual_studio_constraint
159-
conda build -c defaults $CONDA_CHANNEL_FLAGS --no-anaconda-upload --python "$PYTHON_VERSION" packaging/torchaudio
159+
conda build -c defaults $CONDA_CHANNEL --no-anaconda-upload --python "$PYTHON_VERSION" packaging/torchaudio
160160
mkdir -p dist
161161
cp ~/miniconda3/conda-bld/osx-arm64/*.tar.bz2 dist/
162162
- name: Upload package to GitHub

0 commit comments

Comments
 (0)