Skip to content

Commit

Permalink
👷🏼 Add the Publish to PyPI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamim committed May 14, 2024
1 parent b3df8b0 commit df8d507
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 📦️ Publish to PyPI

on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'

jobs:
publish:
name: 📦️ Publish with PDM
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
python-version: '3.12'
- name: 📦️ Publish to PyPI with PDM
run: pdm publish

0 comments on commit df8d507

Please sign in to comment.