mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Emojify step names in workflows. Stop publishing to TestPyPi from PR
This commit is contained in:
11
.github/workflows/pypi.yml
vendored
11
.github/workflows/pypi.yml
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user