Gr1N / setup-poetry

Set up your GitHub Actions workflow with a specific version of Poetry
MIT License
86 stars 14 forks source link

The `add-path` command is deprecated and will be disabled soon. #7

Closed brechtm closed 3 years ago

brechtm commented 3 years ago

When running my GitHub workflows, I'm seeing these warnings recently:

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/

I suspect these come from setup-poetry. The dist/index.js contains "add-path".

Thanks for this useful action!

Gr1N commented 3 years ago

Hi!

Thanks for the report. I will look into this ASAP.

brechtm commented 3 years ago

I think all that is needed is to upgrade actions/core to 1.2.6, as in your _dependabot/npm_andyarn/actions/core-1.2.6 branch.

Gr1N commented 3 years ago

Yep, you are right. Just released v4 (Gr1N/setup-poetry@v4), enjoy!