We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be4e877 commit d99bc1aCopy full SHA for d99bc1a
.github/workflows/build.yml
@@ -0,0 +1,26 @@
1
+name: Publish
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ - name: Set up Python
15
+ uses: actions/setup-python@v2
16
+ with:
17
+ python-version: '3.x'
18
+ - name: Install dependencies
19
+ run: |
20
+ python -m pip install --upgrade pip
21
+ pip install poetry
22
+ - name: Build and publish
23
24
+ poetry version $(git describe --tags --abbrev=0)
25
+ poetry build
26
+ poetry publish --username ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }}
0 commit comments