Emojify step names in workflows. Stop publishing to TestPyPi from PR

This commit is contained in:
Debanjum Singh Solanky
2023-03-01 10:56:39 -06:00
parent 7ad251b8ef
commit ed177db2be
6 changed files with 22 additions and 29 deletions

View File

@@ -32,7 +32,7 @@ jobs:
with:
python-version: '3.10'
- name: Install Application
- name: ⬇️ Install Application
run: python -m pip install --upgrade pip && pip install --upgrade .
- name: ⚙️ Build Python Package
@@ -45,7 +45,7 @@ jobs:
# Build PyPi Package
pipx run build
- name: 👀 Validate Python Package
- name: 🌡️ Validate Python Package
run: |
# Validate PyPi Package
pipx run check-wheel-contents dist/*.whl
@@ -62,10 +62,3 @@ jobs:
uses: pypa/gh-action-pypi-publish@v1.6.4
with:
password: ${{ secrets.PYPI_API_KEY }}
- name: 📦 Publish Python Package to Test PyPI
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: pypa/gh-action-pypi-publish@v1.6.4
with:
password: ${{ secrets.PYPI_API_KEY }}
repository_url: https://test.pypi.org/legacy/