Skip to content

Commit

Permalink
[pipeline] Update to action/checkout@4, actions/setup-node@v4, lukka/…
Browse files Browse the repository at this point in the history
  • Loading branch information
WangWeiLin-MV committed Nov 8, 2024
1 parent c98425b commit 3d2b520
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3d2b520

Please sign in to comment.