From 209a9cf09cf6cb3b55c946c95f99ba66182aa55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Thomsen?= <32633545+soerenthomsen@users.noreply.github.com> Date: Fri, 6 Jan 2023 19:16:42 +0100 Subject: [PATCH] update github actions, prepare for Node16 (#254) * 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 --- .github/workflows/build_book.yml | 4 ++-- .github/workflows/preview-book.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_book.yml b/.github/workflows/build_book.yml index 83b33830..5729b568 100644 --- a/.github/workflows/build_book.yml +++ b/.github/workflows/build_book.yml @@ -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 @@ -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 diff --git a/.github/workflows/preview-book.yml b/.github/workflows/preview-book.yml index c0ce5c4d..7a2b35cd 100644 --- a/.github/workflows/preview-book.yml +++ b/.github/workflows/preview-book.yml @@ -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: | @@ -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 }} \ No newline at end of file + ✅ Deployment Preview URL: ${{ steps.netlify.outputs.deploy-url }}