Skip to content

core: 缓存 Canvas 歌词行渲染结果以优化性能,缓解 DOM 后端歌词行重排闪动问题 #1143

core: 缓存 Canvas 歌词行渲染结果以优化性能,缓解 DOM 后端歌词行重排闪动问题

core: 缓存 Canvas 歌词行渲染结果以优化性能,缓解 DOM 后端歌词行重排闪动问题 #1143

name: "同步仓库至 GitCode"
on:
push:
branches-ignore:
- i10n_*
jobs:
pre-release:
name: 同步仓库至 GitCode
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: 克隆仓库
with:
lfs: true
- uses: kielabokkie/ssh-key-and-known-hosts-action@v1
with:
ssh-private-key: ${{ secrets.AMLL_PUSH_KEY }}
ssh-host: gitcode.net
- name: 强制推送至 GitCode
run: |
git config lfs.allowincompletepush true
git config lfs.https://gitcode.net/sn/applemusic-like-lyrics.git/info/lfs.locksverify true
git fetch --all
git pull --all --unshallow
git remote add gitcode [email protected]:sn/applemusic-like-lyrics.git
git push --force -u gitcode --all
git push --force -u gitcode --tags