Skip to content

Prepare 0.99.63 (#424) #357

Prepare 0.99.63 (#424)

Prepare 0.99.63 (#424) #357

Workflow file for this run

---
name: release
on:
push:
branches:
- release-* # This will trigger the workflow on any branch that starts with "release-"
env:
PYTHON_VERSION: '3.10'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
# Necessary for running the mypy pre-commit hook
poetry install -E all
- uses: pre-commit/[email protected]
release:
runs-on: ubuntu-latest
environment: CD
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip poetry
poetry config virtualenvs.create false
poetry install -E all
- name: Build package
run: poetry build
- name: Release to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: twine upload --skip-existing --verbose dist/*