fix(artifacts.yml): only commit changes if there are any to avoid unnecessary commits

The previous commit message was updated to only commit changes if there are any. This is done to avoid unnecessary commits when there are no changes in the artifacts.
This commit is contained in:
Sped0n
2023-11-04 20:10:48 +08:00
parent 0a050b4959
commit 49dfd54f23

View File

@@ -73,5 +73,5 @@ jobs:
pnpm run build
git config --global user.email "noreply@github.com"
git config --global user.name "CI"
git add -A && git commit -m "build: update bundled artifacts [skip ci]"
git diff --quiet || (git add -A && git commit -m "build: update bundled artifacts [skip ci]")
git push