Skip to content

Commit

Permalink
Merge pull request #158 from semi-technologies/fix_branch_condition
Browse files Browse the repository at this point in the history
fix branch condition
  • Loading branch information
StefanBogdan authored Nov 4, 2022
2 parents d1843b4 + d9fe28a commit 82a531f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
build-and-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI and TestPyPI
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags') && (github.ref_name == 'main') && (github.event.workflow_run.conclusion == 'success')
if: startsWith(github.ref, 'refs/tags') && (github.ref == 'refs/heads/main') && (github.event.workflow_run.conclusion == 'success')
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 82a531f

Please sign in to comment.