Skip to content

Commit

Permalink
fix pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein committed May 28, 2024
1 parent 54e1835 commit 31be92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Echo tag name
run: echo "Tag is ${{ github.ref }}, Deploy is ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.9}}"
run: echo "Tag is ${{ github.ref }}, Tagged is ${{ startsWith(github.ref, 'refs/tags/')}}, Python Check is ${{matrix.python-version == 3.11}}, Deploy is ${{ startsWith(github.ref, 'refs/tags/') && matrix.python-version == 3.11}}"

- name: Install pypa/build
run: >-
Expand All @@ -76,7 +76,7 @@ jobs:
.
- name: Publish distribution 📦 to PyPI
if: ${{ startsWith(github.ref, 'refs/tags/') && success() && matrix.python-version == 3.9}}
if: ${{ startsWith(github.ref, 'refs/tags/') && success() && matrix.python-version == 3.11 && github.event_name == 'push'}}
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 31be92e

Please sign in to comment.