Skip to content

temp: push

temp: push #11

Workflow file for this run

name: Publish package to PyPi
on:
push
jobs:
push:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/harmony-plugin')
defaults:
run:
working-directory: ./tutor-contrib-harmony-plugin
steps:
- name: Checkout
uses: actions/checkout@v2
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.12
- name: Install Dependencies
run: pip install setuptools wheel
- 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 }}
packages-dir: tutor-contrib-harmony-plugin/dist