Skip to content

core.setOutput function will be disabled 1st June 2023 unless actions/core is updated. #12

@bmos

Description

@bmos

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/

Now obviously you're not using stdout, but you are using the core.setOutput function:

core.setOutput('replaced', string.replace(regex, replaceWith));

Which according to the linked blog post, means you need to update actions/core to at least v1.10.0:

Action authors who are using the toolkit should update the @actions/core package to v1.10.0 or greater to get the updated saveState and setOutput functions.

It seems currently to be 1.4.0 as of this prior issue which discussed how to update it!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions