Skip to content

Update src/tree_interval/core/frame_analyzer.py #17

Update src/tree_interval/core/frame_analyzer.py

Update src/tree_interval/core/frame_analyzer.py #17

name: Upload Python Package
on:
release:
types: [published]
topics:
- python
- tree-structure
- interval-tree
- ast-analysis
- visualization
- code-analysis
- static-analysis
- debugging-tools
- development-tools
- python-library
- abstract-syntax-tree
- frame-analysis
- rich-printer
- json-serialization
- type-hints
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install build
- name: Install pypa/setuptools
run: >-
python -m
pip install wheel
- name: Build package
run: python -m build
- name: Extract tag name
id: tag
run: echo ::set-output name=TAG_NAME::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Update version in setup.py
run: >-
sed -i "s/{{VERSION_PLACEHOLDER}}/${{ steps.tag.outputs.TAG_NAME }}/g" setup.py
- name: Build a binary wheel
run: >-
python setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
<<<<<<< HEAD

Check failure on line 56 in .github/workflows/python-publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 56
password: ${{ secrets.PYPI_API_TOKEN }}
=======
password: ${{ secrets.PYPI_API_TOKEN }}
>>>>>>> origin/main