Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
awmatheson committed Aug 8, 2024
1 parent 663e9ee commit bafe349
Show file tree
Hide file tree
Showing 3 changed files with 316 additions and 9 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches:
- main
release:
types:
- published
pull_request: {}
merge_group:
workflow_dispatch:
Expand Down Expand Up @@ -124,14 +127,14 @@ jobs:
publish-to-pypi:
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/')
if: github.event_name == 'release' && github.event.action == 'published'
needs:
- build
- test
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/bytewax-interval
url: https://pypi.org/p/bytewax-clickhouse
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
steps:
Expand All @@ -144,3 +147,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/ # Remove when publishing to PyPI
skip-existing: true
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.0.1"
description = "Clickhouse sink connector for bytewax"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE.txt"}
license = {file = "LICENSE.md"}
keywords = ["bytewax", "streaming", "operator"]
authors = [
{name = "Bytewax, Inc.", email = "[email protected]" }
Expand Down
Loading

0 comments on commit bafe349

Please sign in to comment.