From 19436f65c5707e5e464f63813fbb68bbbe74aa87 Mon Sep 17 00:00:00 2001 From: mingkuang Date: Wed, 27 Nov 2024 22:16:34 +0800 Subject: [PATCH] =?UTF-8?q?Opt,=20=E8=A7=A3=E5=86=B3=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E8=BF=87=E4=BD=8E=EF=BC=8C=E5=AF=BC=E8=87=B4CI=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=89=A7=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Build&Test.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/Build&Test.yml b/.github/workflows/Build&Test.yml index 2d6f3b9..1e3ebf7 100644 --- a/.github/workflows/Build&Test.yml +++ b/.github/workflows/Build&Test.yml @@ -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 @@ -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') }} @@ -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') }} @@ -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