We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 913ed97 commit 1c978b2Copy full SHA for 1c978b2
1 file changed
.github/workflows/publish.yml
@@ -20,12 +20,21 @@ jobs:
20
id-token: write # IMPORTANT: this permission is needed for trusted publishing
21
22
steps:
23
- - name: Download all dists
24
- uses: actions/download-artifact@v4
+ - uses: actions/checkout@v4
+
25
+ - name: Set up Python
26
+ uses: actions/setup-python@v5
27
with:
- name: python-package-distributions
- path: dist/
28
- github-token: ${{ secrets.GITHUB_TOKEN }}
+ python-version: "3.10"
29
30
+ - name: Install build tools
31
+ run: |
32
+ python -m pip install --upgrade pip
33
+ python -m pip install build
34
35
+ - name: Build package
36
37
+ python -m build
38
39
- name: Publish package to PyPI
40
uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments