Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Warning from the set-output command when running Actions #578

Copy link
Copy link
Closed
@zayn7lie

Description

@zayn7lie
Issue body actions

Description:
When I set up my python environment in Actions, it reveals a warning:

Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

This is my code:

- name: Set up Python 3.10
      uses: actions/setup-python@v3
      with:
        python-version: "3.10"

Action version:
Not sure, the newest

Platform:

  • Ubuntu
  • macOS
  • Windows

Runner type: Not sure

  • Hosted
  • Self-hosted

Tools version:
Current: python 3.10
I also test 3.11 and the warning is the same.

Repro steps:
Just run the code in Actions:

- name: Set up Python 3.10
      uses: actions/setup-python@v3
      with:
        python-version: "3.10"

Expected behavior:

Run actions/setup-python@v3
Successfully setup CPython (3.10.9)

Actual behavior:

Run actions/setup-python@v3
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Successfully setup CPython (3.10.9)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.