Skip to content

4.17.0 | Truncated manage learners #583

4.17.0 | Truncated manage learners

4.17.0 | Truncated manage learners #583

Workflow file for this run

name: Publish edx/edx-enterprise to PyPI
on:
release:
types: [published]
branches: [master]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ env.NODE_VER }}
- name: Install requirements
run: make requirements
- 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 }}