ci: replace deprecated ::set-env

This commit is contained in:
Ran Benita 2020-10-31 22:10:51 +02:00
parent 7fb0ea3f68
commit f9d82a34f4
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: set PY
run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
- uses: actions/cache@v1
with:
path: ~/.cache/pre-commit