From 94d57060442e739009e85e5f980fda3f6b6525ce Mon Sep 17 00:00:00 2001 From: Luca Zeuch Date: Sat, 8 Jun 2024 12:09:29 +0200 Subject: [PATCH] workflows: update workflow actions Update the workflow actions used in hugo.yml. GitHub Actions emits some warnings regarding Node 16 deprecation and recommends updating the workflows to the latest version running on Node 20. Signed-off-by: Luca Zeuch --- .github/workflows/hugo.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index eec302a..673ef5e 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -25,10 +25,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Hugo - uses: peaceiris/actions-hugo@v2 + uses: peaceiris/actions-hugo@v3 with: hugo-version: latest # We use the extended version just to be on the safe side. @@ -55,7 +55,7 @@ jobs: - name: Upload artifact if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v4 with: path: ./public