Skip to content

Commit

Permalink
Try another approach to populating the cache dir
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Aug 9, 2024
1 parent 50b6e7b commit a175c1f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,11 @@ runs:
if: steps.cache-geant4-data-packages.outputs.cache-hit != 'true'
run: |
python3 ${NOARCHDEFPYFILE} --yml > ~/cached_noarch_definitions.yml
conda config --remove-key pkgs_dirs ~/my-geant4-data-cache
conda config --add pkgs_dirs ~/my-geant4-data-cache
conda env create -n geant4data -f ~/cached_noarch_definitions.yml
mkdir -p ~/my-geant4-data-cache/noarch && cp -r ~/conda_pkgs_dir/*.conda ~/my-geant4-data-cache/noarch/
#mkdir -p ~/my-geant4-data-cache/noarch && cp -r ~/conda_pkgs_dir/*.conda ~/my-geant4-data-cache/noarch/
#mkdir -p ~/my-geant4-data hest-cache/noarch && cp -r ~/conda_pkgs_dir/*.conda ~/my-geant4-data-cache/noarch/
shell: bash -l {0}
env:
CONDA_SOLVER: libmamba
Expand Down Expand Up @@ -72,7 +75,7 @@ runs:
- name: Setup simplebuild_dgcode environment
run: |
conda config --show pkgs_dirs
conda env update --verbose --verbose -n simplebuild_dgcode -f actualenv.yml
conda env update --verbose --verbose --verbose -n simplebuild_dgcode -f actualenv.yml
shell: bash -el {0}

- name: Conda list
Expand Down

0 comments on commit a175c1f

Please sign in to comment.