update deprecated set-env ci command (#3835)
This commit is contained in:
parent
11798fd01b
commit
d6b974f821
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }}
|
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }}
|
||||||
- name: set full Python version in PY env var
|
- name: set full Python version in PY env var
|
||||||
# See https://pre-commit.com/#github-actions-example
|
# See https://pre-commit.com/#github-actions-example
|
||||||
run: echo "::set-env name=PY::$(python -VV | sha256sum | cut -d' ' -f1)"
|
run: echo "name=PY::$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
|
||||||
- name: cache pre-commit
|
- name: cache pre-commit
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue