Skip to content

Commit

Permalink
update github actions, prepare for Node16 (#254)
Browse files Browse the repository at this point in the history
* update github actions, prepare for Node 16

This PR aims to update GitHub actions to get rid of all warnings related to Node16

* actions/upload-artifact@v2 -> 3

* actions/github-script@v4 -> 6
  • Loading branch information
soerenthomsen authored Jan 6, 2023
1 parent ade70dd commit 209a9cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
rm -rf site.zip
fi
zip -r site.zip ./_build/html
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: site-zip
path: ./site.zip
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
run: |
jupyter-book build . --builder pdflatex
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: book-pdf
path: _build/latex/python.pdf
6 changes: 3 additions & 3 deletions .github/workflows/preview-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
run:
shell: bash
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set message value
run: |
echo "comment_message=This pull request is being automatically built with [GitHub Actions](https://github.com/features/actions) and [Netlify](https://www.netlify.com/). To see the status of your deployment, click below." >> $GITHUB_ENV
- name: Find Pull Request
uses: actions/github-script@v4
uses: actions/github-script@v6
id: find-pull-request
with:
script: |
Expand Down Expand Up @@ -126,4 +126,4 @@ jobs:
${{ env.comment_message }}
🔍 Git commit SHA: ${{ steps.find-pull-request.outputs.sha }}
✅ Deployment Preview URL: ${{ steps.netlify.outputs.deploy-url }}
✅ Deployment Preview URL: ${{ steps.netlify.outputs.deploy-url }}

0 comments on commit 209a9cf

Please sign in to comment.