Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
lich0821 committed Nov 21, 2024
1 parent 1af39e4 commit 9f51c38
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions .github/workflows/Build-WeChatFerry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,16 @@ jobs:
python -m pip install --upgrade pip
pip install grpcio-tools==1.48.2
- name: 设置 vcpkg 缓存
id: cache-vcpkg-tools
- name: 设置缓存
id: cache-vcpkg
uses: actions/cache@v4
with:
path: C:/Tools/vcpkg
key: ${{ runner.os }}-vcpkg-tools-${{ hashFiles('WeChatFerry/vcpkg.json') }}
path: |
C:/Tools/vcpkg
${{ github.workspace }}/WeChatFerry/vcpkg_installed
key: ${{ runner.os }}-vcpkg-${{ hashFiles('WeChatFerry/vcpkg.json') }}
restore-keys: |
${{ runner.os }}-vcpkg-tools-
- name: 设置 vcpkg_installed 缓存
id: cache-vcpkg-installed
uses: actions/cache@v4
with:
path: ${{ github.workspace }}/WeChatFerry/vcpkg_installed
key: ${{ runner.os }}-vcpkg-installed-${{ hashFiles('WeChatFerry/vcpkg.json') }}
restore-keys: |
${{ runner.os }}-vcpkg-installed-
${{ runner.os }}-vcpkg-
- name: 安装 vcpkg 并初始化依赖项
run: |
Expand All @@ -80,7 +73,7 @@ jobs:
# 返回到项目目录并安装依赖
cd ${{ github.workspace }}/WeChatFerry
C:/Tools/vcpkg/vcpkg install --triplet x64-windows-static --x-install-root="${{ github.workspace }}/WeChatFerry/vcpkg_installed/x64-windows-static"
C:/Tools/vcpkg/vcpkg install --triplet x64-windows-static
- name: 解析并构建配置
run: |
Expand Down

0 comments on commit 9f51c38

Please sign in to comment.