Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
harrymkt committed Dec 21, 2024
1 parent a39cf18 commit 0a1691c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on: push
on:
push:
paths: ["src/**", "py*.*"]
branches: [main]
pull_request:
paths: ["src/**", "py*.*"]
workflow_dispatch:

jobs:
build:
name: Build distribution 📦
Expand All @@ -22,6 +29,7 @@ jobs:
with:
name: python-package-distributions
path: dist/
retention-days: 1
publish-to-pypi:
name: Publish Python 🐍 distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0a1691c

Please sign in to comment.