From 329f4f3c2152bbcef1103bc22f10fe0debfabbc6 Mon Sep 17 00:00:00 2001 From: YX Hao Date: Thu, 15 Feb 2024 09:55:59 +0800 Subject: [PATCH] upgrade github actions * Node.js 16 actions are deprecated. * The major version tag is always equal to the latest of its series. --- .github/workflows/msbuild.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 58c66cae..b6a8cac0 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -24,13 +24,13 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v4 with: fetch-depth: 2 submodules: recursive - name: Add MSBuild to PATH - uses: microsoft/setup-msbuild@v1.1.3 + uses: microsoft/setup-msbuild@v2 - name: Restore NuGet packages working-directory: ${{env.GITHUB_WORKSPACE}} @@ -40,7 +40,7 @@ jobs: working-directory: ${{env.GITHUB_WORKSPACE}} run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Platform=x64 ${{env.SOLUTION_FILE_PATH}} - name: Upload artifacts for x64 - uses: actions/upload-artifact@v3.1.1 + uses: actions/upload-artifact@v4 with: name: grepWin-x64 path: bin/Release64/grepWin.exe