Skip to content

Commit

Permalink
[chores] Fixed PyPI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pandafy committed Aug 14, 2024
1 parent 5f8bb7d commit 6af4a73
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish Python Package to Pypi.org

on:
release:
types: [published]
push:
branches:
- fix-pypi-workflow

permissions:
id-token: write
Expand All @@ -29,4 +30,9 @@ jobs:
- name: Build package
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
uses: pypa/[email protected]
with:
verbose: true
env:
DEBUG: >-
true

0 comments on commit 6af4a73

Please sign in to comment.