From d214a447c2b4744984eb96a6568d2294a7354202 Mon Sep 17 00:00:00 2001 From: WangWeiLin-MV <156736127+WangWeiLin-MV@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:24:42 +0800 Subject: [PATCH] [pipeline] Update to action/checkout@4, actions/setup-node@v4, lukka/get-cmake@v3.30.5 --- .github/workflows/build.yaml | 8 ++++---- .github/workflows/pr.yaml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index fa20ccd966..97348989b1 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -21,13 +21,13 @@ jobs: runs-on: ${{ matrix.os }} timeout-minutes: 120 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: 'npm' cache-dependency-path: vcpkg-artifacts/package-lock.json - - uses: lukka/get-cmake@v3.26.3 + - uses: lukka/get-cmake@v3.30.5 with: cmakeVersion: 3.22.1 # ubuntu 22.04 ninjaVersion: 1.11.1 @@ -70,7 +70,7 @@ jobs: run: | "VCPKG_SHA="+(Get-Content vcpkg-init/vcpkg-scripts-sha.txt -Raw).Trim() >> $env:GITHUB_OUTPUT - name: Checkout microsoft/vcpkg for end-to-end tests - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 path: ${{ github.workspace }}/vcpkg-root diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index ab6c0a15eb..073d03cc1f 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -18,13 +18,13 @@ jobs: runs-on: windows-2022 timeout-minutes: 60 steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: "18.x" cache: 'npm' cache-dependency-path: vcpkg-artifacts/package-lock.json - - uses: lukka/get-cmake@v3.26.3 + - uses: lukka/get-cmake@v3.30.5 with: cmakeVersion: 3.22.1 # ubuntu 22.04 ninjaVersion: 1.11.1 @@ -75,14 +75,14 @@ jobs: runs-on: windows-2022 timeout-minutes: 10 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Get microsoft/vcpkg pinned sha into VCPKG_SHA id: vcpkg_sha shell: pwsh run: | "VCPKG_SHA="+(Get-Content vcpkg-init/vcpkg-scripts-sha.txt -Raw).Trim() >> $env:GITHUB_OUTPUT - name: Checkout microsoft/vcpkg for end-to-end tests - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 path: ${{ github.workspace }}/vcpkg-root