From cb08207d45fb3a7c4c7c8ac8524786b7c876f932 Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Mon, 31 May 2021 17:52:48 +0100 Subject: [PATCH] Build conda package: switch to anaconda-client And use environment-file, so that channels are set --- .github/actions/publish-package/action.yml | 2 +- .github/workflows/conda.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/publish-package/action.yml b/.github/actions/publish-package/action.yml index 4f990d2d7dd..e18af68a548 100644 --- a/.github/actions/publish-package/action.yml +++ b/.github/actions/publish-package/action.yml @@ -26,7 +26,7 @@ runs: shell: bash -l {0} run: | conda config --set always_yes yes --set changeps1 no - conda create -n build-env anaconda python=3.8 + conda create -n build-env anaconda-client python=3.8 conda activate build-env conda install conda-build conda-verify diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index b51f50b9928..1b3ef2ee655 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -19,6 +19,8 @@ jobs: with: activate-environment: mantidimaging-dev auto-activate-base: false + environment-file: environment-dev.yml + - name: Mantid Imaging developer dependencies shell: bash -l {0}