diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 9836167..e08c1ac 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -10,7 +10,13 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: actions/cache@v3 + id: cache + with: + path: ~/miniconda + key: ubuntu-conda-${{ hashFiles('environment.yml') }} - name: Install Conda + if: steps.cache.outputs.cache-hit != 'true' run: | wget https://repo.continuum.io/miniconda/Miniconda3-py37_4.11.0-Linux-x86_64.sh bash Miniconda3-py37_4.11.0-Linux-x86_64.sh -bfp ~/miniconda