From e44a322a10da2820e7eface17358dfa2a79dabdc Mon Sep 17 00:00:00 2001 From: April Shen Date: Wed, 5 Jun 2024 13:33:32 +0100 Subject: [PATCH] conda install correct python version in action --- .github/workflows/variant_remapping.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/variant_remapping.yml b/.github/workflows/variant_remapping.yml index 6e04561..3e9f873 100644 --- a/.github/workflows/variant_remapping.yml +++ b/.github/workflows/variant_remapping.yml @@ -29,7 +29,8 @@ jobs: echo "/tmp/nextflow" >> $GITHUB_PATH cd - # $CONDA is an environment variable pointing to the root of the miniconda directory - $CONDA/bin/conda update conda + $CONDA/bin/conda update conda # https://github.com/conda/conda/issues/13560 + $CONDA/bin/conda install -y python=${{ matrix.python-version }} # https://github.com/actions/setup-python/issues/833 $CONDA/bin/conda env update -q --file conda.yml --name base $CONDA/bin/conda run pip install -q -r requirements.txt