Skip to content

Merge pull request #335 from openedx/jenkins/add-python312-support-61… #9

Merge pull request #335 from openedx/jenkins/add-python312-support-61…

Merge pull request #335 from openedx/jenkins/add-python312-support-61… #9

Workflow file for this run

name: Publish package to PyPi
on:
push:
tags:
- '*'
jobs:
push:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install pip
run: pip install -r requirements/pip.txt
- name: Build package
run: python setup.py sdist bdist_wheel
- name: Publish to PyPi
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_UPLOAD_TOKEN }}