Skip to content

Commit

Permalink
Updated github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
crlandsc committed May 17, 2024
1 parent 4f348fa commit 21f642a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI

on: workflow_dispatch
on:
workflow_dispatch:

jobs:
build:
Expand All @@ -18,11 +19,8 @@ jobs:
with:
python-version: "3.8"
- name: Install pypa/build
run: >-
python3 -m
pip install
build
--user
run: |
python3 -m pip install build --user
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
Expand All @@ -40,4 +38,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_KEY }}
repository-url: https://test.pypi.org/legacy/
repository-url: https://upload.pypi.org/legacy/

0 comments on commit 21f642a

Please sign in to comment.