File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 5555 run : |
5656 mamba install -y -c conda-forge conda-build anaconda-client
5757
58+ # Detectar ruta base de conda (segura en cualquier runner)
59+ - name : Detect Conda base path
60+ id : conda_path
61+ run : |
62+ echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV
63+ echo "Conda base is: $(conda info --base)"
64+
5865 - name : Verify conda-build installation
5966 run : |
60- source ~/miniforge3 /etc/profile.d/conda.sh
67+ source $CONDA_BASE /etc/profile.d/conda.sh
6168 conda activate base
6269 which conda
6370 conda --version
7683
7784 - name : Build conda package
7885 run : |
79- source ~/miniforge3 /etc/profile.d/conda.sh
86+ source $CONDA_BASE /etc/profile.d/conda.sh
8087 conda activate base
8188 echo "Conda build version: $(conda build --version)"
8289 PACKAGE_FILE=$(conda build .github/conda --output)
8794 env :
8895 ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
8996 run : |
90- source ~/miniforge3 /etc/profile.d/conda.sh
97+ source $CONDA_BASE /etc/profile.d/conda.sh
9198 conda activate base
9299 PACKAGE_FILE=$(conda build .github/conda --output)
93100 echo "Uploading package: $PACKAGE_FILE"
You can’t perform that action at this time.
0 commit comments