We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1856c6 commit a16ef0fCopy full SHA for a16ef0f
.github/workflows/release.yml
@@ -7,13 +7,17 @@ on:
7
jobs:
8
release:
9
runs-on: ubuntu-24.04
10
-
+ environment:
11
+ name: pypi
12
+ url: https://pypi.org/project/pykka/
13
+ permissions:
14
+ id-token: write
15
steps:
16
- uses: actions/checkout@v4
- - uses: actions/setup-python@v5
17
+ - uses: hynek/build-and-inspect-python-package@v2
18
+ id: build
19
+ - uses: actions/download-artifact@v4
20
with:
- python-version: "3.13"
- - run: python -m pip install poetry==1.8.3 tox==4.21.2
- - run: tox --skip-missing-interpreters true
- - run: poetry build
- - run: poetry publish --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
21
+ name: ${{ steps.build.outputs.artifact-name }}
22
+ path: dist
23
+ - uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments