Skip to content

Commit

Permalink
Add deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
hellmrf committed Dec 7, 2024
1 parent a145650 commit 2e9e38f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/pypy-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish Package to PyPI

on:
release:
types: [published]

permissions:
contents: read

jobs:
release-build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v4

- name: Check lock file consistency
run: uv sync --locked

- name: Build package
run: uv build

- name: Publish package
run: uv publish

- name: Update build artifacts
uses: actions/upload-artifact@v4
with:
name: release-dists
path: dist/

0 comments on commit 2e9e38f

Please sign in to comment.