File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,25 @@ jobs:
8686
8787 - name : Build the package using CPack
8888 working-directory : hexrdgui/packaging
89- # force tar.bz2 files with '--set conda_build.pkg_format 1'
9089 run : |
9190 conda activate hexrdgui-package
91+
92+ # Force conda-forge to be used by conda-build
93+ conda config --remove channels defaults
94+ conda config --add channels conda-forge
95+
96+ # force tar.bz2 files with '--set conda_build.pkg_format 1'
9297 conda config --set conda_build.pkg_format 1
9398 mkdir output
9499
100+ conda config --show channels
101+
95102 # Use libmamba as the solver for all future conda commands
96103 export CONDA_SOLVER=libmamba
97104
105+ # Ensure conda and libmamba are fully up-to-date
106+ conda update -n base conda conda-libmamba-solver
107+
98108 HEXRD_PACKAGE_CHANNEL=${HEXRD_PACKAGE_CHANNEL} HEXRDGUI_OUTPUT_FOLDER=output/ cpack
99109 # This is need to ensure ~/.profile or ~/.bashrc are used so the activate
100110 # command works.
You can’t perform that action at this time.
0 commit comments