Skip to content

Commit

Permalink
Improved the ci
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliFtechiz committed Jun 28, 2023
1 parent fdd9ee1 commit f656963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
- name: Check Deprecated Code
run: |
if grep -q 'Deprecated' build_logs.txt; then
warnings=$(grep -oE "'.*?' is deprecated" build_logs.txt | sed "s/'//g")
warnings=$(grep -n 'Deprecated' build_logs.txt)
twice_warnings=$(echo "$warnings" | cut -d ':' -f 2 | sort | uniq -d)
if [ -z "$twice_warnings" ]; then
Expand All @@ -155,7 +155,7 @@ jobs:
fi
else
echo "No deprecated code found."
fi
fi
- name: Upload APK as Artifacts
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit f656963

Please sign in to comment.