From aa2441a0562de87c0a8e581e4029979e03945223 Mon Sep 17 00:00:00 2001 From: Bambooin Date: Sun, 11 Feb 2024 19:31:23 +0800 Subject: [PATCH] ci: upgrade github action to v4 This will dismiss the warning of deprecated Node.js 16 Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. --- .github/workflows/macos-build.yml | 4 ++-- .github/workflows/windows-build.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos-build.yml b/.github/workflows/macos-build.yml index 7bbc3cd7d4..3590ccba6d 100644 --- a/.github/workflows/macos-build.yml +++ b/.github/workflows/macos-build.yml @@ -44,7 +44,7 @@ jobs: - name: Cache Boost id: cache-boost - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ env.BOOST_ROOT }}.tar.xz @@ -69,7 +69,7 @@ jobs: - name: Cache dependencies id: cache-deps - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | bin diff --git a/.github/workflows/windows-build.yml b/.github/workflows/windows-build.yml index f5f1a12948..01c3282286 100644 --- a/.github/workflows/windows-build.yml +++ b/.github/workflows/windows-build.yml @@ -64,7 +64,7 @@ jobs: - name: Cache Boost source id: cache-boost-src - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ${{ env.BOOST_ROOT }}.7z @@ -86,7 +86,7 @@ jobs: - name: Cache dependencies id: cache-deps - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | bin