rhysd / actionlint

:octocat: Static checker for GitHub Actions workflow files
https://rhysd.github.io/actionlint/
MIT License
2.79k stars 154 forks source link

actions/download-artifacts #468

Open andreineculau opened 6 hours ago

andreineculau commented 6 hours ago

using v3 fails actionlint with

the runner of "actions/upload-artifact@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue [action]

but actions/upload-artifact@v4 cannot be used on GHES

Warning: Artifact upload failed with error: GHESNotSupportedError: @actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES..

Can we add a special condition?

andreineculau commented 6 hours ago

see https://github.com/actions/upload-artifact?tab=readme-ov-file#v4---whats-new

nkhoidang commented 5 hours ago

Same for artifact-upload