1
0
Fork 0
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:
Felddy 2020-10-07 12:42:59 -04:00
parent 6a4164dfba
commit c9c00f1d03
No known key found for this signature in database
GPG key ID: AFD7E112AF75260E

View file

@ -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: