Update workflow

This commit is contained in:
StageGuard
2021-04-20 14:44:10 +08:00
parent ba200fcc3b
commit 8d22952980
5 changed files with 41 additions and 3 deletions

View File

@@ -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:

View File

@@ -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

View File

@@ -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键又不是不能弹。~~

View File

@@ -1,5 +1,23 @@
{
"sheets": [
{
"name": "缘之空-遠い空へ",
"file": "-遠い空へ.txt",
"author": "酷安@cxk的篮球",
"desc": "酷安 <a href=http://www.coolapk.com/u/1090769>@cxk的篮球<a/> 分享乐谱 缘之空-遠い空へ",
"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",

Binary file not shown.