fix(ci): fix baseline profile path

This commit is contained in:
Harsh Shandilya 2022-12-21 16:44:18 +05:30 committed by GitHub
parent 350a64d479
commit ca0706f94b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,8 +107,8 @@ jobs:
# Sort the baseline profile, saving it to app/
sort -o android/src/main/baseline-prof.txt benchmark/build/outputs/baseline-prof/BaselineProfileGenerator_startup-baseline-prof.txt
# If the baseline profile has changed, commit it
if [[ $(git diff --stat app/src/main/baseline-prof.txt) != '' ]]; then
git add app/src/main/baseline-prof.txt
if [[ $(git diff --stat android/src/main/baseline-prof.txt) != '' ]]; then
git add android/src/main/baseline-prof.txt
git commit -m "chore(android): refresh baseline profile" && git push
fi