dart-lang / setup-dart

A GitHub Action to install and setup a Dart SDK.
BSD 3-Clause "New" or "Revised" License
192 stars 38 forks source link

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20 #121

Closed bramp closed 7 months ago

bramp commented 10 months ago

I get the following warning in my build summary

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: dart-lang/setup-dart@v1.
For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

This looks a simple fix action.yml (changing using: "node16" to using: "using: "node20"), but I honestly I don't know how to test the new action, so I figured I'd leave it to the professionals :)

thanks

devoncarew commented 10 months ago

Thanks for the report! I see this mentioned at https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Is your workflow public - can you link to the output?

bramp commented 10 months ago

My workflow is actually broken (due to unrelated issues), but it is here: https://github.com/bramp/pmtiles-dart/actions/runs/7700302668

devoncarew commented 7 months ago

this was fixed by https://github.com/dart-lang/setup-dart/pull/122