From 4c459053f0f9d338bb7a3da262435737bf86be2e Mon Sep 17 00:00:00 2001 From: mrdrivingduck Date: Tue, 1 Aug 2023 21:21:36 +0800 Subject: [PATCH] ci: upgrade actions to v3 --- .github/workflows/docs-format-check.yml | 6 +++--- .github/workflows/docs.yml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs-format-check.yml b/.github/workflows/docs-format-check.yml index 510a3ad5295..8e8ca7af68b 100644 --- a/.github/workflows/docs-format-check.yml +++ b/.github/workflows/docs-format-check.yml @@ -16,20 +16,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # fetch all commits to get last updated time or other git log info fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: # choose node.js version to use node-version: "16" # cache node_modules - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 id: yarn-cache with: path: | diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c4a40a82567..be4e0469d41 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -16,20 +16,20 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: # fetch all commits to get last updated time or other git log info fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: # choose node.js version to use node-version: "16" # cache node_modules - name: Cache dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 id: yarn-cache with: path: | @@ -50,7 +50,7 @@ jobs: # please check out the docs of the workflow for more details # @see https://github.com/crazy-max/ghaction-github-pages - name: Deploy to GitHub Pages - uses: crazy-max/ghaction-github-pages@v2 + uses: crazy-max/ghaction-github-pages@v3 with: # deploy to gh-pages branch target_branch: gh-pages