Skip to content

Adds incomplete CommentForest typing in comment_forest #1

Adds incomplete CommentForest typing in comment_forest

Adds incomplete CommentForest typing in comment_forest #1

Workflow file for this run

name: Publish to PyPI
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- name: Install Poetry
run: pipx install poetry
- name: Get Tag Name
id: get_and_remove_v_from_tag
run: |
TAG_NAME="${{ github.ref_name }}"
TAG_NAME="${TAG_NAME:1}" # Remove the first character (leading 'v')
echo "VERSION=${TAG_NAME}" >> $GITHUB_ENV
- name: Build & Upload
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
run: |
poetry config pypi-token.pypi $PYPI_TOKEN
poetry version $VERSION
poetry build
poetry publish