diff --git a/.github/workflows/deploy_to_pypi.yml b/.github/workflows/deploy_to_pypi.yml index 4ad94249..9cce6f4e 100644 --- a/.github/workflows/deploy_to_pypi.yml +++ b/.github/workflows/deploy_to_pypi.yml @@ -1,7 +1,10 @@ name: Deploy to PyPI on: - push: + workflow_run: + workflows: ["Unit Tests"] + types: + - completed tags: - "[0-9]+.[0-9]+.[0-9]+" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c61fdead..afe48dc4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,6 +5,8 @@ on: branches: - main - develop + tags: + - "[0-9]+.[0-9]+.[0-9]+" pull_request: branches: - main