From 5de55da2fe3e2f0d50b84f7a1a81ebe0724cd80a Mon Sep 17 00:00:00 2001 From: Lars Gyrup Brink Nielsen Date: Sun, 29 Sep 2024 23:00:23 +0200 Subject: [PATCH] ci: update GitHub Actions (#16) # CI - Update GitHub Actions to v4 to fix CD deployment pipeline --- .github/workflows/website.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index 2d8c49f..d3b0868 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ env.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ env.node-version }} @@ -27,7 +27,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - name: Cache Yarn cache directory - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-node-${{ env.node-version }}-yarn-${{ hashFiles('yarn.lock') }} @@ -38,7 +38,7 @@ jobs: - name: Build website run: yarn build - name: "Upload website build artifact" - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: ${{ env.website-package-name }} path: ./build/ @@ -57,9 +57,9 @@ jobs: steps: # necessary for JamesIves/github-pages-deploy-action - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 with: name: ${{ env.website-package-name }} path: ${{ env.package-path }}