Skip to content

Commit

Permalink
spelled out requirements for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaTegner committed Oct 13, 2022
1 parent 9144bac commit 66de289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

builder:
needs: [test]
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
strategy:
matrix:
os: [macos-11, windows-2019]
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:

publisher_release:
needs: [builder]
if: startsWith(github.event.ref, 'refs/tags/v') && github.ref == 'refs/heads/main'
if: startsWith(github.ref, 'refs/tags/v') && github.repository == 'JessicaTegner/gh-py'
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand Down

0 comments on commit 66de289

Please sign in to comment.