Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Feb 4, 2025
1 parent b5b2eca commit c3c0859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Check if Test Coverage Exists
id: check_file
run: |
EXISTS=$(gh api repos/${{ github.repository }}/actions/artifacts | jq -r '.artifacts[] | select(.name=="test-coverage-${{ fromJson(steps.get_pr_data.outputs.result).number }}")'")
EXISTS=$(gh api repos/${{ github.repository }}/actions/artifacts | jq -r '.artifacts[] | select(.name=="test-coverage-${{ fromJson(steps.get_pr_data.outputs.result).number }}")')
if [[ "$EXISTS" == "" ]]; then
echo "Artifact not found. Skipping job."
exit 0
Expand Down

0 comments on commit c3c0859

Please sign in to comment.