Skip to content

Instantly share code, notes, and snippets.

@epwalsh
Last active January 5, 2021 15:06
Show Gist options
  • Select an option

  • Save epwalsh/8e7735916c13888fc562e944fc4347df to your computer and use it in GitHub Desktop.

Select an option

Save epwalsh/8e7735916c13888fc562e944fc4347df to your computer and use it in GitHub Desktop.
Python GitHub Actions with venv cache
- uses: actions/cache@v2
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('dev-requirements.txt') }}
@timkofu

timkofu commented Jan 5, 2021

Copy link
Copy Markdown

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment