Skip to content

Commit

Permalink
Merge pull request #22 from IBM/develop
Browse files Browse the repository at this point in the history
hotfix: GitHub Action on package publishing
  • Loading branch information
subbyte committed May 31, 2021
2 parents 9a613e5 + ef9fac8 commit 32542d2
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Publish Python distributions to PyPI

on:
push:
release:
types: [published]
release:
types: [published]
workflow_dispatch:

jobs:
publish:
Expand All @@ -16,10 +16,10 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install setuptools wheel twine
python -m pip install setuptools wheel build twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_USERNAME: '__token__'
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m build --sdist --wheel --outdir dist/ .
Expand Down

0 comments on commit 32542d2

Please sign in to comment.