From ffb11a53ec8a865851b7500626eb485e0f83b5e2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 18 Nov 2020 19:11:29 +0100 Subject: [PATCH] ci: GHA: fix PY_CACHE_KEY (use $GIHUB_ENV) --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 12d29c31de1..eff5c33adef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -123,7 +123,7 @@ jobs: # Caching. - name: set PY_CACHE_KEY - run: echo "::set-env name=PY_CACHE_KEY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" + run: echo "PY_CACHE_KEY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - name: Cache .tox if: (matrix.tox_env != 'docs') uses: actions/cache@v1