mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
Replace deprecated set-env workflow syntax
See: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
This commit is contained in:
parent
6a4164dfba
commit
c9c00f1d03
1 changed files with 3 additions and 2 deletions
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -21,8 +21,9 @@ jobs:
|
||||||
python-version: 3.9
|
python-version: 3.9
|
||||||
- name: Store installed Python version
|
- name: Store installed Python version
|
||||||
run: |
|
run: |
|
||||||
echo "::set-env name=PY_VERSION::"\
|
echo "PY_VERSION="\
|
||||||
"$(python -c "import platform;print(platform.python_version())")"
|
"$(python -c "import platform;print(platform.python_version())")" \
|
||||||
|
>> $GITHUB_ENV
|
||||||
- name: Cache linting environments
|
- name: Cache linting environments
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue