Skip to content

GH warnings when running get-releasenote action #78

@mjpieters

Description

@mjpieters

When you run the aio-libs/[email protected] action, Github adds this warning (repeated three times):

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/

As the linked blog page states, the deprecation has been postponed but I'm assuming it's not a stay of execution.

To fix the warning, replace printing with appending to the os.environ.get("GITHUB_OUTPUT") filename, if it exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions