Skip to content

Commit

Permalink
增加缓存
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-xmh committed Aug 23, 2023
1 parent 2339a52 commit 84dc769
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,27 @@ jobs:
ref: 3.0-dev
submodules: recursive
path: applemusic-like-lyrics
- name: 缓存依赖项目
uses: actions/cache@v3
with:
key: ${{ runner.os }}-cache
path: |
amll-ttml-tool/node_modules
amll-ttml-tool/src-tauri/target
amll-ttml-tool/.yarn/cache
amll-ttml-tool/.yarn/install-state.gz
applemusic-like-lyrics/node_modules
applemusic-like-lyrics/target
applemusic-like-lyrics/.yarn/cache
applemusic-like-lyrics/.yarn/install-state.gz
C:/Program Files/LLVM
./llvm
# macOS 自带的 Xcode LLVM 不支持 WASM 目标
- name: "macOS: 安装 LLVM 和 Clang"
uses: KyleMayes/install-llvm-action@v1
if: matrix.platform == 'macos-latest'
with:
version: "16"
- name: 配置 NodeJS
uses: actions/setup-node@v3
with:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/build-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,19 @@ jobs:
ref: 3.0-dev
submodules: recursive
path: applemusic-like-lyrics
- name: 缓存依赖项目
uses: actions/cache@v3
with:
key: ${{ runner.os }}-cache
path: |
amll-ttml-tool/node_modules
amll-ttml-tool/src-tauri/target
amll-ttml-tool/.yarn/cache
amll-ttml-tool/.yarn/install-state.gz
applemusic-like-lyrics/node_modules
applemusic-like-lyrics/target
applemusic-like-lyrics/.yarn/cache
applemusic-like-lyrics/.yarn/install-state.gz
- name: 配置 NodeJS
uses: actions/setup-node@v3.0.0
- name: 安装 wasm-pack
Expand Down

0 comments on commit 84dc769

Please sign in to comment.