Skip to content

Commit 7e84523

Browse files
author
Github Actions
committed
Deployed to github pages
1 parent 4fbc373 commit 7e84523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: actions/checkout@v1
2626
- uses: actions/setup-python@v1
2727
- name: set PY
28-
run: echo "::set-env name=PY::$((python --version --version && which python) | sha256sum | cut -d' ' -f1)"
28+
run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
2929
- uses: actions/cache@v1
3030
with:
3131
path: ~/.cache/pre-commit

0 commit comments

Comments
 (0)