mirror of
https://github.com/one-among-us/data.git
synced 2024-11-24 12:07:37 +08:00
[F] Try to fix github actions
This commit is contained in:
parent
0b2dd004ba
commit
e669f4dedd
5
.github/workflows/opencc.sh
vendored
5
.github/workflows/opencc.sh
vendored
@ -4,6 +4,7 @@ git log
|
||||
python3 scripts/convert_zh.py
|
||||
|
||||
# If the hash is the only thing that's changed, don't commit
|
||||
if [[ "$(git diff --numstat | wc -l)" == "1" ]]; then
|
||||
git reset –-hard
|
||||
if [[ "$(git diff --numstat | wc -l | xargs)" == 1 ]]; then
|
||||
echo "Nothing changed, resetting"
|
||||
git reset --hard
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user