Skip to content

Commit

Permalink
Update GitHub Actions workflow for client-py package
Browse files Browse the repository at this point in the history
  • Loading branch information
Titou325 committed Mar 11, 2024
1 parent 7e7b536 commit 0f1de29
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/client-py.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
push:
branches:
- main
paths:
- "packages/client-py/**"
#paths:
#- "packages/client-py/**"

jobs:
build-and-publish:
Expand All @@ -19,8 +19,11 @@ jobs:
python-version: 3.8
# NB: we use pyproject.toml so we can straight use the build command
- run: python3 -m pip install --upgrade build twine
working-directory: ./packages/client-py
- run: python3 -m build
working-directory: ./packages/client-py
- run: python3 -m twine upload --repository pypi dist/*
working-directory: ./packages/client-py
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API }}

0 comments on commit 0f1de29

Please sign in to comment.