mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-22 08:30: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
|
||||
- name: Store installed Python version
|
||||
run: |
|
||||
echo "::set-env name=PY_VERSION::"\
|
||||
"$(python -c "import platform;print(platform.python_version())")"
|
||||
echo "PY_VERSION="\
|
||||
"$(python -c "import platform;print(platform.python_version())")" \
|
||||
>> $GITHUB_ENV
|
||||
- name: Cache linting environments
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue