Skip to content

PortAddonPullRequest: simplify workflow #59

PortAddonPullRequest: simplify workflow

PortAddonPullRequest: simplify workflow #59

Workflow file for this run

name: Publish
on:
push:
tags:
jobs:
publish:
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install pypa/build
run: python -m pip install build
- name: Build a binary wheel and a source tarball
run: python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.pypi_token }}