Skip to content

Deprecation warnings for set-state and set-output commands #57

Closed

Description

Seeing the following two warnings when using this action:

The `save-state` 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/
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/

Activity

  1. belgattitude commented on Oct 13, 2022

    @belgattitude
    Contributor

    Just proposed two PR's about this

    The doc is simple, the action/core update probably needs a second eye.

  2. zkochan commented on Oct 13, 2022

    @zkochan
    Member

    Isn't the warning printed by the programmatic usage?

    setOutput('dest', inputs.dest)
    setOutput('bin_dest', binDest)

  3. belgattitude commented on Oct 13, 2022

    @belgattitude
    Contributor

    Seing the PR merged into action/core 1.10.0, seems they've updated the internals of setOutput

    https://github.com/actions/toolkit/pull/1178/files

    My best guess hypothesis is that there's nothing to do apart updating.

    Is there a way to test #59 ?

  4. zkochan commented on Oct 15, 2022

    @zkochan
    Member

    published v2.2.4

  5. belgattitude commented on Oct 16, 2022

    @belgattitude
    Contributor

    Thanks @zkochan, I've tested it and no warnings are emitted anymore. I think this can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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