I'm using microsoft/variable-substitution@v1
for a long time. Now I'm facing a warning as this is Node.js 12 and recommended to use Node.js 16 as it is deprecated. I updated the v1
to v2
but is not working.
The microsoft/variable-substitution action has been deprecated and archived.
According to its deprecation notice:
This Action is deprecated. The action keeps working even after archiving this repo. So existing workflows are not impacted and new workflows also work fine. Any further enhancement or support is not planned for this action.
One alternative could be to fork it, update its NodeJS version, and start to use that fork.
Another alternative could be to switch to other alternative actions.
I recently wrote this substitute-action in Bash/shell to avoid such issues. You might want to check it out as an alternative too.