Skip to content

Commit

Permalink
update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhq committed Mar 14, 2024
1 parent fd0b8a0 commit e667d2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/actions/buildresources/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/netlifypreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -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
Expand Down

0 comments on commit e667d2f

Please sign in to comment.