From bdc2a5c213962cf0b8daa197c883498d0ab33d73 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 16 Aug 2020 11:23:11 -0500 Subject: [PATCH] Workflow tweak --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01b2ef6..74769f7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,6 @@ -- name: Publish package to Pypi +- 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 }} \ No newline at end of file + password: ${{ secrets.pypi_password }}