From 0fa42bbdca97c7239f94a256967cd8e87ac3ca99 Mon Sep 17 00:00:00 2001 From: Vadim Lebedev Date: Mon, 22 Aug 2022 15:59:14 +0200 Subject: [PATCH] Fixes for upstream merging --- .github/workflows/deploy.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5fec9a1..ce15ca8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ env: jobs: build_wheels: - name: Build wheels on + name: Build wheels runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -40,10 +40,7 @@ jobs: upload_pypi: needs: [build_wheels, build_sdist] runs-on: ubuntu-latest - # upload to PyPI on every tag starting with 'v' - if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') - # alternatively, to publish when a GitHub Release is created, use the following rule: - # if: github.event_name == 'release' && github.event.action == 'published' + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') steps: - uses: actions/download-artifact@v3 with: