Skip to content

Commit

Permalink
should not build prerelease with depth > 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Confusingboat committed Jun 2, 2023
1 parent 981e7d1 commit cfb92cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
needs:
- tag
- build_and_test
if: ${{ github.event_name != 'pull_request' && needs.tag.outputs.prerelease-depth < 2 }}
if: ${{ github.event_name != 'pull_request' && needs.tag.outputs.prerelease == '' || needs.tag.outputs.prerelease-depth == '1' }}
uses: ./.github/workflows/release.yml
with:
version: ${{ needs.tag.outputs.version }}
Expand Down

0 comments on commit cfb92cb

Please sign in to comment.