From e667d2fcf45a7fb6177bf1e990b570ab13324ac8 Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Thu, 14 Mar 2024 16:16:24 -0700 Subject: [PATCH] update actions versions --- .github/actions/buildresources/action.yaml | 4 ++-- .github/workflows/netlifypreview.yaml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/actions/buildresources/action.yaml b/.github/actions/buildresources/action.yaml index 6e11aa0..3e7fba1 100644 --- a/.github/actions/buildresources/action.yaml +++ b/.github/actions/buildresources/action.yaml @@ -21,7 +21,7 @@ runs: steps: - name: Setup JupyterBook Cache if: inputs.jb-cache == 'true' - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./book/_build # NOTE: change key to "jupyterbook-N+1" to force rebuilding cache @@ -52,7 +52,7 @@ runs: - name: Save Build if: ${{ always() && inputs.jb-save == 'true'}} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build path: book/_build/ diff --git a/.github/workflows/netlifypreview.yaml b/.github/workflows/netlifypreview.yaml index 09b381a..3f9eea5 100644 --- a/.github/workflows/netlifypreview.yaml +++ b/.github/workflows/netlifypreview.yaml @@ -6,14 +6,14 @@ on: jobs: add-preview: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # This workflow accesses secrets and checks out a PR, so only run if labelled # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ if: contains(github.event.pull_request.labels.*.name, 'preview') steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} @@ -34,7 +34,7 @@ jobs: - name: Deploy Website Preview if: always() - uses: nwtgck/actions-netlify@v2.0 + uses: nwtgck/actions-netlify@v3.0 with: publish-dir: './book/_build/html' production-deploy: false