From a3ccbae78275c79b4c7b55379510d4eb24054c8f Mon Sep 17 00:00:00 2001 From: Alison Clarke Date: Thu, 18 Feb 2021 12:13:43 +0000 Subject: [PATCH 1/3] Try running on release --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ab8c70a..9b4780b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,8 @@ on: push: pull_request: branches: [ master ] + release: + types: [published] jobs: From e99e4bad6bedea50948a3f8d000b49078fa12c53 Mon Sep 17 00:00:00 2001 From: Alison Clarke Date: Thu, 18 Feb 2021 12:44:44 +0000 Subject: [PATCH 2/3] Temporary change to avoid pushing to pypi --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b4780b..2412a77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,8 +52,8 @@ jobs: run: | pip install wheel python setup.py sdist bdist_wheel - - name: Publish distribution to PyPI - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.PYPI_PASSWORD }} + # - name: Publish distribution to PyPI + # uses: pypa/gh-action-pypi-publish@master + # with: + # user: __token__ + # password: ${{ secrets.PYPI_PASSWORD }} From 21249475d1761002b2e31e664db09786d0625ce0 Mon Sep 17 00:00:00 2001 From: Alison Clarke Date: Thu, 18 Feb 2021 12:49:08 +0000 Subject: [PATCH 3/3] Revert "Temporary change to avoid pushing to pypi" e99e4bad6bedea50948a3f8d000b49078fa12c53 --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2412a77..9b4780b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,8 +52,8 @@ jobs: run: | pip install wheel python setup.py sdist bdist_wheel - # - name: Publish distribution to PyPI - # uses: pypa/gh-action-pypi-publish@master - # with: - # user: __token__ - # password: ${{ secrets.PYPI_PASSWORD }} + - name: Publish distribution to PyPI + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.PYPI_PASSWORD }}