Skip to content

Commit

Permalink
ci: add release yml to publish to pypi
Browse files Browse the repository at this point in the history
  • Loading branch information
janezlapajne committed Jun 30, 2024
1 parent 6100e62 commit 4db4d4e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Publish To The Python Package Index (PyPI)

on:
# workflow_run:
# workflows: [Auto release maker]
# types: [completed]
# pull_request:
# branches:
# - main
# types:
# - closed
push:
branches: [develop, main]

jobs:
pypi-publish:
name: upload release to PyPI
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
- name: Publish package distributions to PyPI
run: pdm publish

0 comments on commit 4db4d4e

Please sign in to comment.