Skip to content

Commit

Permalink
Fix code-cov if check when incompatible swift version (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed May 15, 2024
1 parent 8e7a3c9 commit d2968f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
${TEST_FILTER} \
${EXTRA_FLAGS}
- name: Upload coverage data
if: ${{ inputs.with_coverage }}
if: ${{ (steps.swift-check.outputs.swift-compatible == 'true') && inputs.with_coverage }}
uses: vapor/[email protected]
with:
codecov_token: ${{ secrets.CODECOV_TOKEN || '' }}
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
${TEST_FILTER} \
${EXTRA_FLAGS}
- name: Upload coverage data
if: ${{ inputs.with_coverage }}
if: ${{ (steps.swift-check.outputs.swift-compatible == 'true') && inputs.with_coverage }}
uses: vapor/[email protected]
with:
codecov_token: ${{ secrets.CODECOV_TOKEN || '' }}
Expand Down

0 comments on commit d2968f0

Please sign in to comment.