We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 111c578 commit 49b37c4Copy full SHA for 49b37c4
.github/workflows/CD.yml
@@ -15,14 +15,15 @@ jobs:
15
token: ${{ secrets.TOKEN }}
16
- name: Python Semantic Release
17
uses: python-semantic-release/python-semantic-release@master
18
+ id: semantic-release
19
with:
20
github_token: ${{ secrets.TOKEN }}
21
- name: Build
22
run: |
- cat pyproject.toml
23
python3 -m pip install --upgrade build
24
python3 -m build
25
- name: Upload
26
+ if: steps.semantic-release.outputs.released == 'true'
27
28
python3 -m pip install twine
29
python3 -m twine upload --repository pypi dist/* -u __token__ -p ${{ secrets.PYPI_TOKEN }}
0 commit comments