Skip to content

Commit

Permalink
add conda package caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarlow12 committed Nov 4, 2024
1 parent 2d7290f commit 4eb3bff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/opgee-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
opgee_env_yml: 'py3-opgee.yml'
steps:
- uses: actions/checkout@v4
- name: Cache Conda packages
uses: actions/cache@v3
env:
CACHE_NUMBER: 0
with:
enableCrossOsArchive: true
path: ${{ runner.os == 'Windows' && 'D:\conda_pkgs_dir' || '~/conda_pkgs_dir'}}
key: ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles(env.opgee_env_yml) }}
- name: Cache pip dependencies
uses: actions/cache@v3
id: pip-cache
Expand Down

0 comments on commit 4eb3bff

Please sign in to comment.