File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -310,6 +310,7 @@ jobs:
310
310
- 3.8
311
311
- 3.9
312
312
- " 3.10"
313
+ - 3.11
313
314
steps :
314
315
- name : Checkout Source Repository
315
316
uses : actions/checkout@v3
@@ -358,7 +359,12 @@ jobs:
358
359
shell : bash -l {0}
359
360
run : |
360
361
source "${MINICONDA_INSTALL_PATH}/etc/profile.d/conda.sh"
361
- conda create -y -p "${CONDA_ENV_PATH}" python=${{ matrix.python-version }}
362
+
363
+ if [[ ${{ matrix.python-version }} = "3.11" ]]; then
364
+ conda create -y -p "${CONDA_ENV_PATH}" python=3.8
365
+ else
366
+ conda create -y -p "${CONDA_ENV_PATH}" python=${{ matrix.python-version }}
367
+ fi
362
368
- name : Build TorchData for Conda
363
369
shell : bash -l {0}
364
370
env :
@@ -371,7 +377,12 @@ jobs:
371
377
source "${MINICONDA_INSTALL_PATH}/etc/profile.d/conda.sh"
372
378
fi
373
379
conda activate "${CONDA_ENV_PATH}"
374
- conda install -yq conda-build -c conda-forge
380
+ if [[ "${PYTHON_VERSION}" = "3.11" ]]; then
381
+ conda install -yq conda-build -c malfet -c conda-forge
382
+ export CONDA_CHANNEL_FLAGS="${CONDA_CHANNEL_FLAGS} -c malfet"
383
+ else
384
+ conda install -yq conda-build -c conda-forge
385
+ fi
375
386
packaging/build_conda.sh
376
387
conda index ./conda-bld
377
388
- name : Upload Conda Package to Github
You can’t perform that action at this time.
0 commit comments