Skip to content

Commit

Permalink
fixup! Setup workflow to publish on PyPI.org
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 22, 2024
1 parent 3629c6d commit d4485ab
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build and publish release

on:
release:
types: [created]
on: push

jobs:
pypi-publish:
Expand All @@ -23,10 +21,8 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build distributions
run: |
python -m pip install build
python -m build
- name: Build distributions
run: python -m build
- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit d4485ab

Please sign in to comment.