Skip to content

Commit c23860f

Browse files
committed
WIP
Signed-off-by: Patrick Avery <[email protected]>
1 parent 690751f commit c23860f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/package.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)