Skip to content

Commit

Permalink
Opt, 解决依赖过低,导致CI无法执行
Browse files Browse the repository at this point in the history
  • Loading branch information
mingkuang-Chuyu committed Nov 27, 2024
1 parent 4565706 commit 19436f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/Build&Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: 恢复编译产物
id: ltlBinCache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
TargetPlatform/**/*.lib
Expand All @@ -21,7 +21,7 @@ jobs:
- name: 恢复缓存
if: steps.ltlBinCache.outputs.cache-hit != 'true'
id: ltlCache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: Tools/**/libucrt_shared.lib
key: ltl_${{ hashFiles('**/Build_libucrt_shared.cmd') }}
Expand Down Expand Up @@ -191,7 +191,7 @@ jobs:
- name: 匹配Redist缓存
if: contains(github.ref, 'tags/')
id: ltlRedistCache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: VC-LTL*-Redist.7z
key: ltl_Redist_${{ hashFiles('Redist/**/*.dll') }}
Expand All @@ -203,14 +203,14 @@ jobs:
run: |
del VC-LTL-${{env.BuildVersion}}-Redist.7z /Q /F
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
path: |
*.nupkg
*.7z
# 失败时我们收集一些信息,用于诊断
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: failure()
with:
name: ErrorLog
Expand Down

0 comments on commit 19436f6

Please sign in to comment.