1
1
mirror of https://github.com/neosubhamoy/pytubepp.git synced 2025-12-20 01:09:36 +05:30

(ci/cd): added build steps in workflow

This commit is contained in:
2024-02-19 22:11:24 +05:30
parent a1f215abea
commit 3bb1600243

View File

@@ -12,5 +12,21 @@ jobs:
permissions: permissions:
id-token: write id-token: write
steps: steps:
- name: Publish package distributions to PyPI - name: 🚚 Checkout repository
uses: actions/checkout@v4
- name: 🐍 Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.10
- name: 📦 Install dependencies
run: |
pip install -r requirements.txt
pip install wheel twine
- name: 🛠️ Build package
run: python3 setup.py sdist bdist_wheel
- name: 🚀 Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1 uses: pypa/gh-action-pypi-publish@release/v1