Skip to content

Commit

Permalink
Trim blank spaces in the env name
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Mar 24, 2024
1 parent d5f8df8 commit 61a3509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo "CONDA_PACK_TEMPLATE_DIR=${CONDA_PACK_TEMPLATE_DIR}" >> $GITHUB_ENV
# env_name=$(cat configs/config-py${PYTHONVER}.yml | shyaml get-value env_name)
env_name=$(cat configs/config-py${PYTHONVER}.yml | grep -e "^env_name:" | cut -d ":" -f2)
env_name=$(cat configs/config-py${PYTHONVER}.yml | grep -e "^env_name:" | cut -d ":" -f2 | sed "s/ //g")
export CONDA_PACK_ENV_NAME=${env_name}
echo "CONDA_PACK_ENV_NAME=${CONDA_PACK_ENV_NAME}" >> $GITHUB_ENV
Expand Down

0 comments on commit 61a3509

Please sign in to comment.