Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eliphas1204 authored Jan 17, 2024
1 parent e74f6eb commit 3952d10
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ jobs:
id-token: write
steps:
# retrieve your distributions here
- uses: actions/checkout@v2

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'

# Build package distributions from the setup.py in paynow directory
- name: Build package
run: |
python setup.py sdist bdist_wheel

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 3952d10

Please sign in to comment.