Skip to content

Commit

Permalink
Update python-package.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalina authored Sep 24, 2024
1 parent dc0c7c3 commit 7c92283
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,21 @@ jobs:
- name: Test with pytest
run: |
python manage.py test
pypi-publish:
runs-on: ubuntu-latest
needs:
- build
permissions:
id-token: write
environment:
name: pypi
url: https://pypi.org/p/fileupload
steps:
- name: Retrieve release distributions
uses: actions/download-artifact@v4
with:
name: release-dists
path: dist/

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

0 comments on commit 7c92283

Please sign in to comment.