Skip to content

Commit

Permalink
Modernise base env for lock creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-mo committed Sep 24, 2024
1 parent a1d38d6 commit 394566e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci-locks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
uses: actions/[email protected]
env:
# Increment the build number to force a cache refresh.
CACHE_BUILD: 2
CACHE_BUILD: 5
with:
path: ~/conda_pkgs_dir
key: ${{ runner.os }}-conda-pkgs-${{ env.ENV_NAME }}-p${{ env.CACHE_PERIOD }}-b${{ env.CACHE_BUILD }}
Expand All @@ -52,17 +52,16 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
channels: conda-forge,defaults
channels: conda-forge
activate-environment: ${{ env.ENV_NAME }}
auto-update-conda: true
use-only-tar-bz2: true

- name: "Conda environment cache"
id: conda-env-cache
uses: actions/[email protected]
env:
# Increment the build number to force a cache refresh.
CACHE_BUILD: 2
CACHE_BUILD: 5
with:
path: ${{ env.CONDA }}/envs/${{ env.ENV_NAME }}
key: ${{ runner.os }}-conda-env-${{ env.ENV_NAME }}-p${{ env.CACHE_PERIOD }}-b${{ env.CACHE_BUILD }}
Expand All @@ -81,7 +80,7 @@ jobs:
uses: actions/[email protected]
env:
# Increment the build number to forece a cache refresh.
CACHE_BUILD: 2
CACHE_BUILD: 5
TOX_INI: ${{ github.workspace }}/tox.ini
with:
path: ${{ github.workspace }}/.tox
Expand Down

0 comments on commit 394566e

Please sign in to comment.