Skip to content

Set-env and add-path deprecation warning #25447

Answered by airtower-luna
reikdas asked this question in Actions
Discussion options

You must be logged in to vote

I see two possible causes:

  1. An action you’re using is using those commands. That seems unlikely because the only action you’re using is actions/checkout, but updating it to v2 instead of v1 may be a good idea anyway.
  2. Some script or other tool you’re running is issuing set-env or add-path commands.

I noticed the failures affect only the macos builds, and indeed the macports-ci script you’re downloading there contains at least an add-path command. It is also downloading and running additional tools, so those probably cause the other warnings.

You could file an issue against the source repository of that script and hope for a patch, or find another way to set up macports.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
4 participants