From 4762c8dbd77522724d9d8f7b859ddf0d28b8ef2d Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 12 Oct 2023 08:08:09 -0700 Subject: [PATCH] test --- .../actions/setup-binary-builds/action.yml | 41 ++++--------------- 1 file changed, 8 insertions(+), 33 deletions(-) diff --git a/.github/actions/setup-binary-builds/action.yml b/.github/actions/setup-binary-builds/action.yml index 72d96fca78..504a51c383 100644 --- a/.github/actions/setup-binary-builds/action.yml +++ b/.github/actions/setup-binary-builds/action.yml @@ -109,39 +109,14 @@ runs: set -euxo pipefail CONDA_ENV="${RUNNER_TEMP}/conda_environment_${GITHUB_RUN_ID}" - if [[ "${PYTHON_VERSION}" = "3.11" ]]; then - - if [[ "${PACKAGE_TYPE:-}" == "conda" ]]; then - conda create \ - --yes --quiet \ - --prefix "${CONDA_ENV}" \ - "python=3.8" \ - cmake=3.22 \ - conda-build=3.21 \ - ninja=1.10 \ - pkg-config=0.29 \ - wheel=0.37 - else - conda create \ - --yes --quiet \ - --prefix "${CONDA_ENV}" \ - "python=${PYTHON_VERSION}" \ - cmake=3.22 \ - ninja=1.10 \ - pkg-config=0.29 \ - wheel=0.37 - fi - else - conda create \ - --yes --quiet \ - --prefix "${CONDA_ENV}" \ - "python=${PYTHON_VERSION}" \ - cmake=3.22 \ - conda-build=3.21 \ - ninja=1.10 \ - pkg-config=0.29 \ - wheel=0.37 - fi + conda create \ + --yes --quiet \ + --prefix "${CONDA_ENV}" \ + "python=${PYTHON_VERSION}" \ + cmake=3.22 \ + ninja=1.10 \ + pkg-config=0.29 \ + wheel=0.37 echo "CONDA_ENV=${CONDA_ENV}" >> "${GITHUB_ENV}" echo "CONDA_RUN=conda run -p ${CONDA_ENV}" >> "${GITHUB_ENV}"