From ce01478f20a705222bc4fd0c28de259ca83661ef Mon Sep 17 00:00:00 2001 From: Ryan Dale Date: Sun, 28 Jan 2024 10:24:58 -0500 Subject: [PATCH] fix getting bioconda-utils version --- .github/workflows/bioconda-utils-build-env-cos7.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/bioconda-utils-build-env-cos7.yml b/.github/workflows/bioconda-utils-build-env-cos7.yml index 5c655556..bce71516 100644 --- a/.github/workflows/bioconda-utils-build-env-cos7.yml +++ b/.github/workflows/bioconda-utils-build-env-cos7.yml @@ -90,7 +90,7 @@ jobs: pkg_list="$( run cat /.pkg.lst | tr '\n' '|' | sed 's/|$//' )" glibc="$( run sh -c 'exec "$( find -xdev -name libc.so.6 -print -quit )"' | sed '1!d' )" bash="$( run bash --version | sed '1!d' )" - bioconda_utils="$( run bioconda-utils --version )" + bioconda_utils="$( run ". /opt/conda/etc/profile.d/conda.sh && conda activate base && bioconda-utils --version" )" buildah rm "${container}" # Store package/version info as labels for the image