summaryrefslogtreecommitdiff
path: root/.github/workflows/build-python-package.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-python-package.yml')
-rw-r--r--.github/workflows/build-python-package.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build-python-package.yml b/.github/workflows/build-python-package.yml
index 138ad4f21..441942926 100644
--- a/.github/workflows/build-python-package.yml
+++ b/.github/workflows/build-python-package.yml
@@ -67,6 +67,7 @@ jobs:
upload_pypi:
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps:
- uses: actions/checkout@v2
@@ -82,7 +83,7 @@ jobs:
- uses: actions/download-artifact@v2
with:
name: artifact
- path: ./src/runtime/python/dist
+ path: ./dist
- name: Publish
env: