Skip to content

voiceAuth rewritten to call voiceauthCore package. #16

voiceAuth rewritten to call voiceauthCore package.

voiceAuth rewritten to call voiceauthCore package. #16

Workflow file for this run

name: voiceauthCore Upload Python Package
on:
release:
types: [published]
permissions:
id-token: write # Required for OpenID authentication
contents: write # Required for actions/checkout
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/VoiceAuth
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build package
run: |
python setup.py sdist bdist_wheel
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: success()
with:
repository-url: https://upload.pypi.org/legacy/
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}