Skip to content

Commit

Permalink
Push tags to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
pnorman committed Dec 17, 2023
1 parent 6069308 commit 7a73d4f
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,19 @@ jobs:
with:
repository-url: https://test.pypi.org/legacy/


publish-to-pypi:
name: Publish tagged versions to PyPi
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs: [publish-to-testpypi]
environment:
name: pypi
url: https://pypi.org/p/tilekiln
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 7a73d4f

Please sign in to comment.