diff --git a/.github/workflows/syncToGitee.yml b/.github/workflows/syncToGitee.yml index ea2452e..e98b648 100644 --- a/.github/workflows/syncToGitee.yml +++ b/.github/workflows/syncToGitee.yml @@ -1,4 +1,4 @@ -name: Sync To Gitee +name: Auto update commit and sync to gitee on: [ push, delete, create ] @@ -6,8 +6,28 @@ jobs: build: runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 + if: github.actor == 'StageGuard' + with: + persist-credentials: true + - name: Update commit hash to gitVersion + if: github.actor == 'StageGuard' + run: | + git show -s --format=%H > gitVersion + git add gitVersion + - name: Push commit + uses: EndBug/add-and-commit@v7.1.2 + if: github.actor == 'StageGuard' + with: + add: gitVersion + author_name: github-actions[bot] + author_email: 41898282+github-actions[bot]@users.noreply.github.com + message: Update git tree hash + push: true - name: Sync to Gitee uses: wearerequired/git-mirror-action@master + if: github.actor == 'StageGuard' env: SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} with: diff --git a/README-en.md b/README-en.md index c91a8dd..c7bd3e0 100644 --- a/README-en.md +++ b/README-en.md @@ -2,7 +2,7 @@ A script to play Sheets generated by [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) automatically in game Sky with accessibility services using Auto.js -[![shared sheet](https://badgen.net/badge/shared%20sheets/127%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/24/pink)](#shared-sheets) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/) +[![shared sheet](https://badgen.net/badge/shared%20sheets/128%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/24/pink)](#shared-sheets) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/) ## Feature diff --git a/README.md b/README.md index 7262089..ce5cb1d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ English: [README-en.md](README-en.md) 使用Auto.js提供的无障碍权限实现在Sky光遇中自动弹奏 [SkyStudio](https://play.google.com/store/apps/details?id=com.Maple.SkyStudio) 导出的曲谱 -[![shared sheet](https://badgen.net/badge/shared%20sheets/127%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/24/pink)](#共享乐谱) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/) +[![shared sheet](https://badgen.net/badge/shared%20sheets/128%20in%20total/green)](shared_sheets/) [![sheet contributors](https://badgen.net/badge/sheet%20contributors/24/pink)](#共享乐谱) [![Hosted in](https://badgen.net/badge/CDN/jsDelivr?icon=jsdelivr)](https://www.jsdelivr.com/) ~~不会进一步支持原神的21键琴和上传21键位的共享乐谱,反正15键又不是不能弹。~~ diff --git a/shared_sheets.json b/shared_sheets.json index 6dcaeb9..849307e 100644 --- a/shared_sheets.json +++ b/shared_sheets.json @@ -1,5 +1,23 @@ { "sheets": [ + { + "name": "缘之空-遠い空へ", + "file": "-遠い空へ.txt", + "author": "酷安@cxk的篮球", + "desc": "酷安 @cxk的篮球 分享乐谱 缘之空-遠い空へ", + "bpm": 440, + "suggested_instrument": 1, + "keyCount": 15, + "pitchLevel": 2, + "noteCount": 1087, + "social": [ + { + "platform": "coolapk", + "name": "酷安", + "link": "http://www.coolapk.com/u/1090769" + } + ] + }, { "name": "灰澈 - 星茶会", "file": "星茶会(高音钢琴C调).txt", diff --git a/shared_sheets/-遠い空へ.txt b/shared_sheets/-遠い空へ.txt new file mode 100644 index 0000000..309b4af Binary files /dev/null and b/shared_sheets/-遠い空へ.txt differ