Skip to content

Commit

Permalink
try using a more recent version of cache
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasGensollen committed Jun 3, 2024
1 parent a0c91f9 commit fabced6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
with:
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: false
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: /local2/ci/miniconda3/envs/clinicadl_handbook
key: ${{ env.CACHE_NUMBER }}-conda-${{ hashFiles('environment.yml') }}
id: cache
- name: Update environment
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
name: Update environment
run: |
source ~/miniconda3/etc/profile.d/conda.sh
conda env update -n clinicadl_handbook -f environment.yml
if: steps.cache.outputs.cache-hits != 'true'
- name: Build documentation
run: |
source ~/miniconda3/etc/profile.d/conda.sh
Expand Down

0 comments on commit fabced6

Please sign in to comment.