We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34d999e commit 9cd2d42Copy full SHA for 9cd2d42
.github/workflows/release.yml
@@ -26,14 +26,14 @@ jobs:
26
python setup.py sdist bdist_wheel
27
- name: Get version number
28
id: get_version
29
- run: echo ::set-env name=VERSION::$(python3 -c "import simphony; print(simphony.__version__)")
+ run: echo "VERSION=$(python3 -c "import simphony; print(simphony.__version__)")" >> $GITHUB_ENV
30
- name: Load Release text
31
run: |
32
BODY=$(cat ./docs/changelog/${{ env.VERSION }}-changelog.md)
33
BODY="${BODY//'%'/'%25'}"
34
BODY="${BODY//$'\n'/'%0A'}"
35
BODY="${BODY//$'\r'/'%0D'}"
36
- echo "::set-env name=BODY::$BODY"
+ echo "BODY=$BODY" >> $GITHUB_ENV
37
- name: Publish to PyPI
38
uses: pypa/gh-action-pypi-publish@v1.1.0
39
with:
0 commit comments