I am trying to remove this warning from a github action:
Warning: The `set-env` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
I have upgraded the
@actions/core package to version
1.2.6 - but is that enough?
The code in question looks like this:
core.exportVariable('npm_config_cache', npmCacheFolder) - should that be re-written, and in that case how should it look like ?