Skip to content

Commit

Permalink
Add publish workflow (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
SRv6d authored Oct 16, 2023
1 parent cb9abc8 commit c4fc878
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: PyPI Publish

on:
release:
types: [published]
workflow_dispatch:

env:
COLUMNS: 120

permissions:
contents: read

jobs:
publish:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v3
- name: Publish to PyPI
run: pdm publish

0 comments on commit c4fc878

Please sign in to comment.