diff --git a/.github/workflows/release_bdist.yml b/.github/workflows/release_bdist.yml
index ef75cef4b..c9c51df8d 100644
--- a/.github/workflows/release_bdist.yml
+++ b/.github/workflows/release_bdist.yml
@@ -70,7 +70,7 @@ jobs:
           ln -s /github/home/pip_wheels ./pip_wheels
 
           # set the conda package path
-          echo pkgs_dirs:\n\t- $PWD/conda_pkgs > ~/.condarc
+          echo "pkgs_dirs:\n  - $PWD/conda_pkgs" > ~/.condarc
 
           # set safe directory
           git config --global --add safe.directory /__w/ColossalAI/ColossalAI