Skip to content

Commit

Permalink
Run code coverage task only when the threshold is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghulam Nasir committed Mar 5, 2024
1 parent ae2d893 commit 3543758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/flutter-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- name: Conditional Check (to skip job)
run: [[ '${{ env.CODE_COVERAGE_FILE_PATH }}' == '' ]] && echo "Skipping job" && exit 0
- uses: QuickBirdEng/actions/checkout-ssh@main
with:
ssh-private-key: ${{ secrets.CI_SSH_PRIVATE_KEY_FOR_GITHUB_PRIVATE_REPOS }}
Expand Down

0 comments on commit 3543758

Please sign in to comment.