-
-
Notifications
You must be signed in to change notification settings - Fork 91
Labels
enhancementNew feature or requestNew feature or requestproposalFeature requestFeature requestresolvedresolved issueresolved issue
Description
Checklist
- I am using the latest version of this action.
- I have read the latest README and followed the instructions.
- I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your question
My job gives a warning
Node.js 12 actions are deprecated.
For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: peaceiris/actions-hugo, peaceiris/actions-gh-pages
Relevant links
Public repository:
https://github.com/nielsbasjes/yauaa/blob/d1ee16088b5fe5a8142783097cc738d90f95f579/.github/workflows/website.yml
YAML config:
YAML workflow:
name: Documentation Website
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
# extended: true
- name: Build
run: cd documentation && hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./documentation/public
### Relevant log output
This warning message is shown:
Node.js 12 actions are deprecated.
For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Please update the following actions to use Node.js 16: peaceiris/actions-hugo, peaceiris/actions-gh-pages
### Additional context.
This workflow has run successfully for more than 8 months.
Apparently this is cause by a change in github:
https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/
IRus
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestproposalFeature requestFeature requestresolvedresolved issueresolved issue