Skip to content

Commit

Permalink
Fix broken GitHub Action (#16)
Browse files Browse the repository at this point in the history
due to a [security vulnerability in GitHub Actions](https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/), the use of `set-env` was deactivated.
switched to [environment files](https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#environment-files) to avoid this issue.
  • Loading branch information
klamann authored Mar 10, 2021
1 parent 41b602e commit 8e92839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
pip install -r requirements.txt
python setup.py sdist bdist_wheel
cd dist
echo "::set-env name=WHEEL::$(ls *.whl)"
echo "WHEEL=`ls *.whl`" >> $GITHUB_ENV
# create a new draft release (so we only trigger the deployment pipeline after the draft has been published)
- name: Create Release
id: create_release
Expand Down

0 comments on commit 8e92839

Please sign in to comment.