Skip to content

test 🧪

test 🧪 #7

Workflow file for this run

name: Publish PythFider
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
environment: PythFinder
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: pip install setuptools wheel twine
- name: Build the package
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
echo "Token Length: ${#TWINE_PASSWORD}"
twine --version
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*