From a970ad3035d4dafc0097a541414d8c8f8b3c5a7f Mon Sep 17 00:00:00 2001 From: David Nabergoj Date: Sat, 19 Oct 2024 20:47:20 +0200 Subject: [PATCH] Update python-publish.yml --- .github/workflows/python-publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 1503baf..a6aebfd 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -10,9 +10,9 @@ name: Build Torchflows and upload to PyPI on: push: - branches: [ "main" ] + branches: [ "release" ] pull_request: - branches: [ "main" ] + branches: [ "release" ] workflow_dispatch: jobs: @@ -38,7 +38,6 @@ jobs: publish-to-pypi: name: Publish Torchflows distribution to PyPI - if: startsWith(github.ref, '/refs/tags') needs: - build runs-on: ubuntu-latest