Skip to content

correct way to declare features in env #40

correct way to declare features in env

correct way to declare features in env #40

Workflow file for this run

name: Publish
on: push
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install hatch
run: |
pip install hatch
- name: Build and Distribute
run: |
hatch build
- name: Publish package distributions to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1