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 580a4f3 commit 71630a8Copy full SHA for 71630a8
.github/workflows/publish.yml
@@ -0,0 +1,35 @@
1
+name: publish
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+jobs:
8
+ publish:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: setup-python
15
+ uses: actions/setup-python@v3
16
+ with:
17
+ python-version: "3.11"
18
+ architecture: "x64"
19
+ - name: install pypa/build
20
+ run: >-
21
+ python -m
22
+ pip install
23
+ build
24
+ --user
25
+ - name: build sdist(tarball) and bdist(wheel) to dist/
26
+ run: >- # = python -m build . works the same way by default
27
28
29
+ --sdist
30
+ --wheel
31
+ --outdir dist/
32
+ - name: publish to PyPI
33
+ uses: pypa/gh-action-pypi-publish@release/v1
34
35
+ repository-url: https://upload.pypi.org/legacy/
0 commit comments