From c1b7c66070db5cd567d9480ded399efe6cdd2d98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Labay?= Date: Sun, 20 Sep 2020 17:53:10 +0200 Subject: [PATCH 1/3] Create pypi-publish.yml --- .github/workflows/pypi-publish.yml | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .github/workflows/pypi-publish.yml diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml new file mode 100644 index 0000000..9921012 --- /dev/null +++ b/.github/workflows/pypi-publish.yml @@ -0,0 +1,6 @@ +- name: Publish Python package + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }} From ea7b7fbc0f8bec7b7db95f864d271d371083c8a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Labay?= Date: Sun, 20 Sep 2020 17:57:19 +0200 Subject: [PATCH 2/3] Delete pypi-publish.yml --- .github/workflows/pypi-publish.yml | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .github/workflows/pypi-publish.yml diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml deleted file mode 100644 index 9921012..0000000 --- a/.github/workflows/pypi-publish.yml +++ /dev/null @@ -1,6 +0,0 @@ -- name: Publish Python package - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@master - with: - user: __token__ - password: ${{ secrets.pypi_password }} From 46790fa36febea7c23d8cd5bf5858250221d4d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Labay?= Date: Sun, 20 Sep 2020 17:58:08 +0200 Subject: [PATCH 3/3] Update python.yml --- .github/workflows/python.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 00fdaed..3576ef3 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -44,3 +44,9 @@ jobs: env_vars: OS,PYTHON name: codecov-umbrella fail_ci_if_error: true + - name: Publish package + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') + uses: pypa/gh-action-pypi-publish@master + with: + user: __token__ + password: ${{ secrets.pypi_password }}