mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 15:44:54 +00:00
Merge pull request #7355 from hayaksi1/fix/822-record-screenshots-no-change
Do not fail the screenshot recording job when there is nothing to commit
This commit is contained in:
@@ -78,6 +78,10 @@ else
|
|||||||
git config --local user.name "${INPUT_AUTHOR_EMAIL}"
|
git config --local user.name "${INPUT_AUTHOR_EMAIL}"
|
||||||
fi
|
fi
|
||||||
git add -A
|
git add -A
|
||||||
|
if git diff --cached --quiet; then
|
||||||
|
echo "Screenshots are already up to date, nothing to commit."
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
git commit -m "Update screenshots"
|
git commit -m "Update screenshots"
|
||||||
|
|
||||||
GITHUB_REPO="https://$GITHUB_ACTOR:$TOKEN@github.com/$REPO.git"
|
GITHUB_REPO="https://$GITHUB_ACTOR:$TOKEN@github.com/$REPO.git"
|
||||||
|
|||||||
Reference in New Issue
Block a user