Skip to content

Commit

Permalink
fix: add missing requirement for build job in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
martinalbert committed May 10, 2024
1 parent 4f360b0 commit e974175
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
uses: ./.github/workflows/test.yml

build:
needs: test
if: contains(github.event.head_commit.message, 'chore(release)')
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -45,8 +46,7 @@ jobs:
publish-to-test-pypi:
name: >-
Publish to Test PyPI
needs:
- build
needs: build
if: contains(github.event.head_commit.message, 'chore(release)')
runs-on: ubuntu-22.04

Expand All @@ -72,8 +72,7 @@ jobs:
publish-to-pypi:
name: >-
Publish to PyPI
needs:
- publish-to-test-pypi
needs: publish-to-test-pypi
if: contains(github.event.head_commit.message, 'chore(release)')
runs-on: ubuntu-22.04

Expand Down

0 comments on commit e974175

Please sign in to comment.