diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yml similarity index 51% rename from .github/workflows/release.yaml rename to .github/workflows/release.yml index c584f39..b42c8bc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yml @@ -3,12 +3,23 @@ name: Release on: release: types: ["published"] + workflow_dispatch: + +permissions: + contents: read jobs: - run: - name: Release + pypi-publish: + name: Upload release to PyPI runs-on: ubuntu-latest + environment: + name: release + url: https://pypi.org/project/housaku/ + + permissions: + id-token: write + steps: - uses: actions/checkout@v4 @@ -16,7 +27,6 @@ jobs: uses: astral-sh/setup-uv@v3 with: enable-cache: true - cache-dependency-glob: uv.lock - name: Set up Python run: uv python install 3.13 @@ -24,5 +34,5 @@ jobs: - name: Build run: uv build - - name: Publish - run: uv publish -t ${{ secrets.PYPI_TOKEN }} + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index d0b31d9..31a2787 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "housaku" -version = "v0.7.9" +version = "v0.7.10" description = "A personal search engine built on top of SQLite's FTS5." readme = "README.md" license = "MIT" diff --git a/uv.lock b/uv.lock index d2f2528..e3ae199 100644 --- a/uv.lock +++ b/uv.lock @@ -316,7 +316,7 @@ wheels = [ [[package]] name = "housaku" -version = "0.7.8" +version = "0.7.10" source = { editable = "." } dependencies = [ { name = "aiofiles" }, @@ -887,7 +887,7 @@ wheels = [ [[package]] name = "textual" -version = "0.87.1" +version = "0.88.0" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "markdown-it-py", extra = ["linkify", "plugins"] }, @@ -895,9 +895,9 @@ dependencies = [ { name = "rich" }, { name = "typing-extensions" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/61/6a/e643a0d32dc964f831172ff84d4d1b0e3c6675954e74f81c201713c58d69/textual-0.87.1.tar.gz", hash = "sha256:daf4e248ba3d890831ff2617099535eb835863a2e3609c8ce00af0f6d55ed123", size = 1515065 } +sdist = { url = "https://files.pythonhosted.org/packages/25/b7/601f94b4f4aca85e2d24c5d401e447ed9ab1aed710e811a1f7559c973031/textual-0.88.0.tar.gz", hash = "sha256:bf9cc3ec9d34957c361eabf739e59272295323478cc822633fb0a7b7cc2a0ac3", size = 1519716 } wheels = [ - { url = "https://files.pythonhosted.org/packages/b5/da/65056aefc671ddf858ea3ae8da8cd78fe547b3adfa90554bdd178c26f376/textual-0.87.1-py3-none-any.whl", hash = "sha256:026d1368cd10610a72a9d3de7a56692a17e7e8dffa0468147eb8e186ba0ff0c0", size = 654686 }, + { url = "https://files.pythonhosted.org/packages/85/89/ac433063e19c31a3692720354dc370fd71f83ddb69e1382fa5faec2586ed/textual-0.88.0-py3-none-any.whl", hash = "sha256:87a1085a403e3a95aa4b954c530d46947d830e9ad4b8c15490104c0b4a452b6a", size = 654963 }, ] [[package]]