Skip to content

v0.0.54

v0.0.54 #54

Workflow file for this run

name: Release
on:
release:
types: [published]
env:
PYTHON_VERSION: "3.11"
jobs:
release:
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install Hatch
run: python3 -m pip install hatch
- name: Install dependencies
run: hatch build
- name: Publish to PyPi
if: "startsWith(github.ref, 'refs/tags/')"
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.RUFF_LSP_TOKEN }}
run: |
hatch publish