Skip to content

harmony-chart-0.10.0 #4

harmony-chart-0.10.0

harmony-chart-0.10.0 #4

Workflow file for this run

name: Publish package to PyPi

Check failure on line 1 in .github/workflows/pypi-publish.yaml

View workflow run for this annotation

GitHub Actions / Publish package to PyPi

Invalid workflow file

The workflow is not valid. .github/workflows/pypi-publish.yaml: (Line: 11, Col: 9, Idx: 120) - (Line: 11, Col: 10, Idx: 121): While parsing a tag, did not find expected tag URI.
on:
release:
types: [published]
jobs:
push:
runs-on: ubuntu-latest
if: ! startsWith(github.head_ref, 'harmony-chart')
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 }}