From e3a23173e48a2cc893c5d6d9e57080126f775e8f Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Sun, 17 Oct 2021 08:44:42 -1000 Subject: Add step to upload to pypi during release workflow Signed-off-by: Matthew Peveler --- .github/workflows/release.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 79e2421..1150820 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,6 +37,12 @@ jobs: asset_name: asciidoc-${{ github.event.release.tag_name }}.tar.gz asset_content_type: application/gzip + - name: Publish a Python distribution to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} + # - name: Update Homebrew formula # uses: dawidd6/action-homebrew-bump-formula@v3 # with: -- cgit v1.2.1