Skip to content

Commit 8721b99

Browse files
yelizarievyajo
authored andcommitted
upgrade to to new github api
> The `set-env` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
1 parent 9626279 commit 8721b99

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
- uses: actions/setup-python@v1
1818
- name: Set PY
1919
run:
20-
echo "::set-env name=PY::$(python -c 'import hashlib,
20+
echo "PY=$(python -c 'import hashlib,
2121
sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
22+
>> $GITHUB_ENV
2223
- uses: actions/cache@v1
2324
with:
2425
path: ~/.cache/pre-commit

0 commit comments

Comments
 (0)