We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e418df commit 5a89916Copy full SHA for 5a89916
.github/workflows/publish.yml
@@ -17,7 +17,17 @@ jobs:
17
poetry-version: 1.1.2
18
- name: Run tests
19
run: make tests
20
- - name: Publish
+ - name: Run build
21
+ run: poetry build -f wheel
22
+ - name: Publish in GitHub Releases
23
+ uses: svenstaro/upload-release-action@v2
24
+ with:
25
+ repo_token: ${{ secrets.GITHUB_TOKEN }}
26
+ file: dist/*.whl
27
+ tag: ${{ github.ref }}
28
+ overwrite: true
29
+ file_glob: true
30
+ - name: Publish in PyPI
31
uses: d1618033/gh-action-python-publish-using-poetry@master
32
with:
33
pypi_username: ${{ secrets.PYPI_USERNAME }}
0 commit comments