Skip to content

Commit

Permalink
Make pypi publish conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
elx-cbrandom committed Jan 26, 2024
1 parent 1367a69 commit f9d3cff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,9 @@ jobs:
- name: Build with Poetry
working-directory: ./python-client
run: poetry build

- name: Publish package distributions to TestPyPI
if: github.ref == 'refs/heads/dev'
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
packages-dir: python-client/dist/
20 changes: 0 additions & 20 deletions .github/workflows/test-pypi-publish.yml

This file was deleted.

0 comments on commit f9d3cff

Please sign in to comment.