Skip to content

Commit

Permalink
Update bookdown-build-from-desc.yml
Browse files Browse the repository at this point in the history
Mise à jour version Github actions pour supprimer le warning 

> The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, actions/upload-artifact@v2. 

> For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
  • Loading branch information
jengelaere authored Dec 5, 2023
1 parent 8928738 commit 173d656
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bookdown-build-from-desc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: Rscript -e 'remotes::install_deps(dependencies = TRUE)'

- name: Cache bookdown results
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: _bookdown_files
key: bookdown-${{ hashFiles('**/*Rmd') }}
Expand All @@ -44,7 +44,7 @@ jobs:
run: Rscript -e 'bookdown::render_book("index.Rmd", quiet = FALSE)'

- name: 'Upload Artifact'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: site-${{ github.sha }}
path: _book/
Expand Down

0 comments on commit 173d656

Please sign in to comment.