Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The add-path command is deprecated and will be disabled soon #30

Closed
jon-groovy opened this issue Oct 13, 2020 · 2 comments
Closed

The add-path command is deprecated and will be disabled soon #30

jon-groovy opened this issue Oct 13, 2020 · 2 comments

Comments

@jon-groovy
Copy link

This action has started to throw the following warning

Warning: The `add-path` 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/

Which seems to be triggered here

setup-kustomize/dist/index.js

Lines 5436 to 5439 in d6406c9

function addPath(inputPath) {
command_1.issueCommand('add-path', {}, inputPath);
process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;
}

Specifically line 5437

The changelog recommendation is to updating $GITHUB_PATH

https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-commands-for-github-actions#adding-a-system-path

@imranismail
Copy link
Owner

imranismail commented Oct 13, 2020

This should be fixed in master, could you try again with v1 tag

@jon-groovy
Copy link
Author

This is indeed fixed with v1 tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants