Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnabergoj authored Oct 19, 2024
1 parent aa10159 commit a970ad3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit a970ad3

Please sign in to comment.