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 6a14458 commit 079ec1cCopy full SHA for 079ec1c
.github/workflows/ci.yml
@@ -52,7 +52,11 @@ jobs:
52
run: "python -m pytest"
53
publish:
54
name: "📦 Publish Python distributions"
55
+ if: "startsWith(github.ref, 'refs/tags')"
56
runs-on: "ubuntu-latest"
57
+ environment: "publish"
58
+ permissions:
59
+ id-token: write
60
strategy:
61
matrix:
62
python-version:
@@ -69,8 +73,5 @@ jobs:
69
73
run: "python -m pip install wheel --user"
70
74
- name: "🐍 Build a binary wheel and a source tarball"
71
75
run: "python setup.py sdist bdist_wheel"
72
- - name: "📦 Publish distribution to PyPI"
76
+ - name: "📦 Publish package distributions to PyPI"
77
uses: "pypa/gh-action-pypi-publish@release/v1"
- if: "startsWith(github.ref, 'refs/tags')"
- with:
- password: "${{ secrets.pypi_password }}"
0 commit comments