From 6dbcfac676214267f7efcb768707ff2ed58b9f63 Mon Sep 17 00:00:00 2001 From: Qin Gu Date: Wed, 15 Nov 2023 01:14:36 +0100 Subject: [PATCH] Update gh-pages.yml see #48 #46 --- .github/workflows/gh-pages.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6408a69..f472339 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -12,7 +12,7 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod @@ -24,16 +24,16 @@ jobs: extended: true - name: Set up Node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 16 - name: Install tools run: | sudo apt install curl jq npm i -g postcss postcss-cli autoprefixer - - uses: actions/cache@v2 + - uses: actions/cache@v3 with: path: /tmp/hugo_cache key: ${{ runner.os }}-hugomod-${{ hashFiles('**/go.sum') }}