Skip to content

Commit 5a89916

Browse files
committed
First try for publish to GitHub Releases
1 parent 8e418df commit 5a89916

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/publish.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,17 @@ jobs:
1717
poetry-version: 1.1.2
1818
- name: Run tests
1919
run: make tests
20-
- name: Publish
20+
- 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
2131
uses: d1618033/gh-action-python-publish-using-poetry@master
2232
with:
2333
pypi_username: ${{ secrets.PYPI_USERNAME }}

0 commit comments

Comments
 (0)