Error
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2
난감
2024. 8. 27. 10:10
728x90
에러 메시지
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/ |
위와 같은 메시지가 뜨면서 github action이 실패했다.
actions/checkout@v2 와 actions/setup-java@v2가 버전에 맞지 않는 듯 하다.
해결방법
main.yml에서 오류난 부분을 v4로 고쳐준다.
잘 실행된다.
반응형