Skip to content

Commit

Permalink
ci: 🎡 add push to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
miragecentury committed Jan 2, 2025
1 parent eab10b4 commit a5cf4a3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: release
on:
push:
branches:
- main
jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
environment: pypi
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
# retrieve your distributions here
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit a5cf4a3

Please sign in to comment.