From ee269b64a608de770696d23079f46238c2f7ab5a Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 6 Mar 2020 13:23:31 -0800 Subject: [PATCH] also include the location of the python in the cache key --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 875b31c..990c3f1 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-python@v1 - name: set PY - run: echo "::set-env name=PY::$(python --version --version | sha256sum | cut -d' ' -f1)" + run: echo "::set-env name=PY::$((python --version --version && which python) | sha256sum | cut -d' ' -f1)" - uses: actions/cache@v1 with: path: ~/.cache/pre-commit