You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/12/28 12:09:22 UTC

[airflow-pre-commit-action] 07/20: Deployed to github pages

This is an automated email from the ASF dual-hosted git repository.

kamilbregula pushed a commit to tag v2.0.0
in repository https://gitbox.apache.org/repos/asf/airflow-pre-commit-action.git

commit 7e84523f8a23615d45e213eb93a8f90e27fc30ca
Author: Github Actions <us...@example.com>
AuthorDate: Mon Mar 9 14:22:02 2020 +0000

    Deployed to github pages
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 990c3f1..92bbe9b 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 && which python) | sha256sum | cut -d' ' -f1)"
+      run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
     - uses: actions/cache@v1
       with:
         path: ~/.cache/pre-commit