Skip to content

Commit

Permalink
Update continuous_delivery.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shaharbar1 authored Aug 21, 2024
1 parent 65f484a commit f1d832d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/continuous_delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,13 @@ jobs:
echo "Version ${{ env.PACKAGE_VERSION }} already exists."
exit 0
fi
- name: Verify whether to publish
run: |
if [ "${{ matrix.python-version }}" != "3.8" ] || [ "${{ steps.version_check.outcome }}" != "success" ]; then
exit 0
fi
- name: Build and publish to pypi
if: ${{ success() && matrix.python-version == 3.8 }}
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_TOKEN }}
poetry publish --build
- name: Create a Git tag
if: ${{ success() && matrix.python-version == 3.8 }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
Expand Down

0 comments on commit f1d832d

Please sign in to comment.