Skip to content

Merge pull request #2 from sidarpttr/sidarpttr #21

Merge pull request #2 from sidarpttr/sidarpttr

Merge pull request #2 from sidarpttr/sidarpttr #21

Workflow file for this run

# Bu araç @keyiflerolsun tarafından | @KekikAkademi için yazılmıştır.
name: PyPI Yükleyici
on:
push:
paths:
- setup.py
pull_request:
paths:
- setup.py
jobs:
PyPIYukleyici:
name : PyPI Yükleyici
runs-on : ubuntu-latest
steps:
- name: Depo Kontrolü
uses: actions/checkout@v3
- name: Python 3.10.8 Yükle
uses: actions/setup-python@v4
with:
python-version: "3.10.8"
- name: Python Sürümünü Göster
run : python -c "import sys; print(sys.version)"
- name: Gereksinimleri Yükle
run : |
python -m pip install --upgrade pip
pip install -U setuptools wheel build twine
- name: Kütüphaneyi PyPI'ye Yükle
env :
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run : |
python -m build --sdist --wheel
twine check dist/*
python -m twine upload dist/*
rm -rf build/ dist/ *.egg-info/