Skip to content

Commit 1aa0de4

Browse files
authored
Migrate env variable setting (#113)
1 parent 7ef4f4a commit 1aa0de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install pre-commit
1616
run: python -m pip install pre-commit
1717
- name: set PY
18-
run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
18+
run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
1919
- uses: actions/cache@v1
2020
with:
2121
path: ~/.cache/pre-commit

0 commit comments

Comments
 (0)