Skip to content

Merge pull request #14 from withplum/update-it #10

Merge pull request #14 from withplum/update-it

Merge pull request #14 from withplum/update-it #10

Workflow file for this run

name: publish
on:
push:
tags: ["*"]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Build and publish
env:
HATCH_INDEX_USER: ${{ secrets.PYPI_USERNAME }}
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PASSWORD }}
run: |
hatch build
hatch publish