mirror of
https://git.bjxgj.com/xgj/xgj-actions.git
synced 2025-10-14 06:33:37 +08:00
feat: 添加git status命令以显示工作目录状态
This commit is contained in:
@@ -166,6 +166,8 @@ runs:
|
|||||||
if [[ "${{ inputs.clean-project-store }}" == "true" && -d ".pnpm-store" && "$(cd "$PNPM_STORE_DIR" 2>/dev/null && pwd)" != "$(cd .pnpm-store 2>/dev/null && pwd)" ]]; then
|
if [[ "${{ inputs.clean-project-store }}" == "true" && -d ".pnpm-store" && "$(cd "$PNPM_STORE_DIR" 2>/dev/null && pwd)" != "$(cd .pnpm-store 2>/dev/null && pwd)" ]]; then
|
||||||
rm -rf .pnpm-store || true
|
rm -rf .pnpm-store || true
|
||||||
fi
|
fi
|
||||||
|
echo "🧾 git status --short"
|
||||||
|
git status --short || true
|
||||||
|
|
||||||
- name: 总结
|
- name: 总结
|
||||||
shell: bash
|
shell: bash
|
||||||
|
Reference in New Issue
Block a user