Skip to content

Publish dbt-semantic-interfaces Release #27

Publish dbt-semantic-interfaces Release

Publish dbt-semantic-interfaces Release #27

name: Publish `dbt-semantic-interfaces` Release
on:
workflow_dispatch:
push:
tags:
- "*"
env:
PYTHON_VERSION: "3.8"
jobs:
pypi-publish:
runs-on: ubuntu-latest
environment: PYPI_PUBLISH
steps:
- name: Check-out the repo
uses: actions/checkout@v3
- name: Setup Python ${{ env.PYTHON_VERSION }} Environment
uses: ./.github/actions/setup-python-env
with:
python-version: "${{ env.PYTHON_VERSION }}"
- name: Hatch Publish
run: hatch build && hatch publish
env:
HATCH_INDEX_USER: __token__
HATCH_INDEX_AUTH: ${{ secrets.PYPI_API_TOKEN }}