Skip to content

Commit

Permalink
CONDA_PKGS_DIR not available
Browse files Browse the repository at this point in the history
  • Loading branch information
wvangerwen committed Jan 20, 2025
1 parent 2ae45d8 commit 16f2c94
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/tests-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ jobs:
uses: codecov/codecov-action@v5

#Hopefully reduces run time; see https://github.com/conda-incubator/setup-miniconda/issues/277
- name: Rename conda package cache
if: steps.cache.outputs.cache-hit != 'true' #Doesnt work when cache is used.
shell: bash
run: mv "${CONDA_PKGS_DIR}" "${CONDA_PKGS_DIR}_do_not_cache"
#This worked in conda-incubator/setup-miniconda@v2, but not on conda-incubator/setup-miniconda@v3
# - name: Rename conda package cache
# if: steps.cache.outputs.cache-hit != 'true' #Doesnt work when cache is used.
# shell: bash
# run: mv "${CONDA_PKGS_DIR}" "${CONDA_PKGS_DIR}_do_not_cache"

# fail_if_pull_request_is_draft:
# if: github.event.pull_request.draft == true
Expand Down

0 comments on commit 16f2c94

Please sign in to comment.