Skip to content

Commit

Permalink
Initial build-deploy configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mattprintz committed Dec 5, 2024
1 parent f75627d commit a43fb22
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
# Automatically build and publish

name: Build and Publish

# yamllint disable-line rule:truthy
on:
push:
tags: ['v*']

jobs:
build:
name: Build & Publish
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install hatch
shell: bash
run: |
pip install hatch hatchling
- name: hatch build
shell: bash
run: |
hatch build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit a43fb22

Please sign in to comment.