Closed
Description
When we are using setup-kind in latest version we get warning about "add-path" being deprecated.
Apparently you are using core.addPath method which also uses it.
Add Path was deprecated in https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ and will be removed soon, so I think you need to change the mechanism to the new mechanism:
The path should be added to the ${GITHUB_PATH} file instead as described in https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path :
echo "{path}" >> $GITHUB_PATH
Metadata
Metadata
Assignees
Labels
No labels
Activity
Replaces deprecated add-path with appending to GITHUB_PATH.
Replaces deprecated add-path with appending to GITHUB_PATH.
stefanprodan commentedon Oct 28, 2020
@radu-matei any news on this? Seems that updating actions/core should fix it #27
alexellis commentedon Nov 4, 2020
I also got this error today:
Is there anything we can do to help out with this?
potiuk commentedon Nov 9, 2020
We switched to our custom way of installing Kind via script :(
stefanprodan commentedon Nov 11, 2020
So seems that on the 16th who ever uses KinD will end up with a broken CI 😢 I've used this action in a dozen places, all @fluxcd projects and many others are affected. Has anyone made a fork @potiuk ?
pst commentedon Nov 11, 2020
I looked into this myself for Kubestack's pipelines. There's a KinD action from the helm team https://github.com/helm/kind-action But I haven't tried it yet. Just found it the other day.
radu-matei commentedon Nov 11, 2020
Apologies for missing this issue, I am looking into it and create a new release with the fix.
However, it looks like the action version will have to be explicitly updated by the user, unfortunately.
radu-matei commentedon Nov 11, 2020
Created a new release which uses the updated
@actions/core
package.Feel free to reopen if there is any issue related to this change.
Thanks!
ci: update engineerd/setup-kind action for compatibility
.github: update version of engineerd/setup-kind
.github: update version of engineerd/setup-kind
11 remaining items