diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 1cd40dff..8b7f6ff9 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -29,7 +29,7 @@ jobs: uses: ./.github/actions/render - name: Cache NPM - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -47,7 +47,7 @@ jobs: rm -fr build - name: Cache gems - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor/bundle key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0e7b1f60..1a8bd314 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: run: | curl -sL https://github.com/dita-ot/org.dita-ot.html/archive/refs/heads/${{ env.WEBSITE_PLUGIN_BRANCH }}.zip -o org.dita-ot.html.zip - name: Cache render DITA-OT - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: dita-ot-${{ env.DITA_OT_VERSION }} key: ${{ runner.os }}-dita-ot-${{ env.DITA_OT_VERSION }}