From fdfd25d059b49f9fdf210f3106e6dcbcee9e2e63 Mon Sep 17 00:00:00 2001 From: Will McGinnis Date: Sat, 21 Mar 2020 14:34:56 -0400 Subject: [PATCH] Update pypi-publish.yml --- .github/workflows/pypi-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 4593d54..c8a50b1 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -7,7 +7,11 @@ jobs: docs: runs-on: ubuntu-latest steps: + - name: Clone + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') + uses: actions/checkout@v1 - name: Build package + if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags') run: | python -m pip install --upgrade pip pip install -r requirements.txt