Skip to content

Commit

Permalink
Add publish PyPI step
Browse files Browse the repository at this point in the history
  • Loading branch information
chidiwilliams committed Oct 28, 2023
1 parent eedc2ab commit 2203dc8
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,31 @@ jobs:
summary-always: true
auto-push: true

publish-pypi:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-latest
- os: windows-latest
- os: ubuntu-20.04
# needs: [ build, test ]
# if: startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Poetry Action
uses: snok/[email protected]
with:
virtualenvs-create: true
virtualenvs-in-project: true
- name: Publish to PyPI
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish --build
release:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
[tool.poetry]
name = "buzz"
name = "buzz-captions"
version = "0.8.4"
description = ""
authors = ["Chidi Williams <[email protected]>"]
license = "MIT"
readme = "README.md"
include = ["buzz/libwhisper.*", "buzz/whisper_cpp.py"]
repository = "https://github.com/chidiwilliams/buzz"
packages = [
{ include = "buzz" },
]

[tool.poetry.dependencies]
python = ">=3.9.13,<3.11"
Expand Down

0 comments on commit 2203dc8

Please sign in to comment.