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 338a207 commit 17178aeCopy full SHA for 17178ae
.github/workflows/build.yml
@@ -0,0 +1,38 @@
1
+name: Build
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ tags:
7
+ - v*
8
+jobs:
9
+ build_wheels:
10
+ name: Build
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v3
14
+ - name: Install Poetry
15
+ uses: snok/[email protected]
16
+ - name: Build
17
+ run: poetry build
18
+ - uses: actions/upload-artifact@v3
19
+ with:
20
+ path: ./dist/*
21
22
+ upload_pypi:
23
+ name: Upload to PyPI
24
+ needs: [build_wheels]
25
26
+ environment: pypi
27
+ permissions:
28
+ id-token: write
29
+ if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
30
31
+ - uses: actions/download-artifact@v3
32
33
+ name: artifact
34
+ path: dist
35
36
+ - uses: pypa/gh-action-pypi-publish@release/v1
37
38
+ skip-existing: true
0 commit comments