Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wavy-cat authored Mar 16, 2024
1 parent e7ce9be commit 816b74b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Publish to PYPI

on:
release:
paths-ignore:
- 'README.md'
- 'LICENSE'
- '.gitignore'
types:
- created

Expand All @@ -13,8 +17,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
# with:
# fetch-tags: true

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -35,4 +37,4 @@ jobs:
poetry build
- name: Upload package
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 816b74b

Please sign in to comment.