Skip to content

Merge pull request #134 from openedx/bilalqamar95/release-build-fix #4

Merge pull request #134 from openedx/bilalqamar95/release-build-fix

Merge pull request #134 from openedx/bilalqamar95/release-build-fix #4

Workflow file for this run

name: Publish package to PyPI
on:
push:
tags:
- '*'
jobs:
push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install pip
run: pip install -U pip wheel setuptools
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}