Fix typo in INSTALL.zh-CN.md #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: cursor-skill in sync | |
| # Fails if .cursor/skills/i-have-adhd/SKILL.md drifts from the canonical | |
| # skills/i-have-adhd/SKILL.md. The .cursor copy is a real file, not a | |
| # symlink, so Windows clones and GitHub ZIP downloads work (#55). | |
| on: | |
| pull_request: | |
| paths: | |
| - skills/i-have-adhd/SKILL.md | |
| - .cursor/skills/** | |
| - .github/workflows/cursor-skill-sync.yml | |
| push: | |
| branches: [main] | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Fail if the .cursor copy differs from SKILL.md | |
| run: | | |
| cmp skills/i-have-adhd/SKILL.md .cursor/skills/i-have-adhd/SKILL.md || { | |
| echo "::error::.cursor copy is out of sync. Run: cp skills/i-have-adhd/SKILL.md .cursor/skills/i-have-adhd/SKILL.md" | |
| exit 1 | |
| } |