mirror of
https://github.com/oslook/cursor-ai-downloads.git
synced 2025-09-26 19:31:12 +08:00
更新 update-cursor-links.yml
This commit is contained in:
4
.github/workflows/update-cursor-links.yml
vendored
4
.github/workflows/update-cursor-links.yml
vendored
@@ -46,7 +46,9 @@ jobs:
|
|||||||
id: git-check
|
id: git-check
|
||||||
run: |
|
run: |
|
||||||
git add cursor_products
|
git add cursor_products
|
||||||
git diff --staged || echo "changes=true" >> $GITHUB_OUTPUT
|
if ! git diff --staged --quiet; then
|
||||||
|
echo "changes=true" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Commit and push if changed
|
- name: Commit and push if changed
|
||||||
if: steps.git-check.outputs.changes == 'true'
|
if: steps.git-check.outputs.changes == 'true'
|
||||||
|
Reference in New Issue
Block a user