Skip to content

Commit

Permalink
Use cache in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ksugar committed Nov 5, 2023
1 parent 55eea06 commit 61173e9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 61173e9

Please sign in to comment.