Skip to content

Commit f9d82a3

Browse files
committed
ci: replace deprecated ::set-env
1 parent 7fb0ea3 commit f9d82a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ jobs:
165165
- uses: actions/checkout@v2
166166
- uses: actions/setup-python@v2
167167
- name: set PY
168-
run: echo "::set-env name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
168+
run: echo "name=PY::$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
169169
- uses: actions/cache@v1
170170
with:
171171
path: ~/.cache/pre-commit

0 commit comments

Comments
 (0)