From 617f6cb708122624bdfccf552fb9e9dd03a7d3ed Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 16 Sep 2019 08:31:47 -0400 Subject: [PATCH] fun --- .github/workflows/publish-pypi.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index 8b4bbd8..a93c182 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -1,6 +1,16 @@ -- name: Publish Bake on PyPI - if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_password }} +name: Bake PyPI Distribution™ + +on: [push] +if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') + +jobs: + build: + runs-on: latest-ubuntu + + steps: + - uses: actions/checkout@v1 + - name: Upload to PyPI + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }}