Skip to content

Limit terminal width to parent container size #201

Limit terminal width to parent container size

Limit terminal width to parent container size #201

Workflow file for this run

name: Release
# Always tests wheel building, but only publish to PyPI on pushed tags.
on:
pull_request:
paths-ignore:
- ".github/workflows/*.yaml"
- "!.github/workflows/release.yaml"
push:
branches:
- "main"
tags: ["**"]
workflow_dispatch:
jobs:
build-release:
runs-on: ubuntu-22.04
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
with:
# Fetch full history so we don't run into trouble with setuptools_scm
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: install build package
run: |
pip install --upgrade pip
pip install build
pip freeze
- name: build release
run: |
python -m build --sdist --wheel .
ls -l dist
- name: publish to pypi
uses: pypa/gh-action-pypi-publish@release/v1
if: startsWith(github.ref, 'refs/tags/')