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 6c1266d commit d8f2c61Copy full SHA for d8f2c61
1 file changed
.github/workflows/workflow.yml
@@ -0,0 +1,36 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ workflow_dispatch:
8
9
+permissions:
10
+ contents: read
11
+ id-token: write
12
13
+jobs:
14
+ publish:
15
+ runs-on: ubuntu-latest
16
+ environment:
17
+ name: pypi
18
+ url: https://pypi.org/project/glovita/
19
20
+ steps:
21
+ - name: Check out repository
22
+ uses: actions/checkout@v4
23
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: "3.11"
28
29
+ - name: Install build backend
30
+ run: python -m pip install --upgrade build
31
32
+ - name: Build distributions
33
+ run: python -m build
34
35
+ - name: Publish to PyPI
36
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments