Skip to content

xblock-1.9.1

xblock-1.9.1 #7

Workflow file for this run

name: Publish package to PyPI
on:
release:
types: [published]
jobs:
push:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install pip
run: pip install wheel setuptools
- 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 }}