Skip to content

Commit

Permalink
push to PYPI
Browse files Browse the repository at this point in the history
  • Loading branch information
PraaneshSelvaraj committed Mar 9, 2024
1 parent 1ac201f commit 7c8d7d8
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
42 changes: 42 additions & 0 deletions .github/workflows/python-app.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Publish Python 🐍 distribution 📦 to PyPI

on:
push:
tags:
- '*'

jobs:
build:
name: Build distribution 📦
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Build distribution
run: python -m build

pypi-publish:
name: Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: build

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Download built distributions
uses: actions/download-artifact@v2
with:
name: python-package-distributions
path: dist/
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='speech_engine',
version='0.0.2',
version='0.0.3',
author='Praanesh',
author_email='praaneshselvaraj2003@gmail.com',
description='Python package for synthesizing text into speech',
Expand Down

0 comments on commit 7c8d7d8

Please sign in to comment.