GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `save-state` and `set-output` are deprecated · Issue #953 · actions/cache

save-state and set-output are deprecated #953

New issue
Copy link
New issue
Copy link
Closed
#956
Closed
save-state and set-output are deprecated#953
#956
Copy link
Assignees
Phantsure

Description

@zacharyburnett
zacharyburnett
opened on Oct 12, 2022
Issue body actions

Running this action results in the following warnings:

Warning: 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/

https://github.com/spacetelescope/stenv/actions/runs/3234699238/jobs/5298298424#step:14:20

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/

https://github.com/spacetelescope/stenv/actions/runs/3234699238/jobs/5298298424#step:14:22

Reacted by Jelmer Kuperus, Michael Sverdlov, Kostya Ten, Manoel Marques, Robin James Kerrison, Alex Gaynor, Jamel Noel Reid, Evan Rappe, Bastien THOMAS, Christian Korndörfer and 13 more

Activity

  1. github-actions
    assigned
    Phantsure
    on Oct 12, 2022
  2. jelmerk commented on Oct 12, 2022

    @jelmerk
    jelmerk
    on Oct 12, 2022
    More actions

    Same. These two files seem to execute save-state and set-output commands

    https://github.com/actions/cache/blob/main/dist/restore/index.js
    https://github.com/actions/cache/blob/main/dist/save/index.js

    Reacted by Kostya Ten, Manoel Marques and Renan Leme
  3. rjkerrison commented on Oct 12, 2022

    @rjkerrison
    rjkerrison
    on Oct 12, 2022
    More actions

    I believe this will be fixed once all code is using version 1.10.0 of @actions/core, which released actions/toolkit#1178. Bumping to version 1.10.0 of @actions/core is in main but not yet in a release version. Unfortunately @actions/cache has its own dependency on @actions/core, which is currently at version 1.2.6.

    Reacted by Zach Burnett and Scott Carpenter
    Reacted by Pol Feliu Cuberes
  4. fingolfin commented on Oct 12, 2022

    @fingolfin
    fingolfin
    on Oct 12, 2022
    More actions

    Actually this repo also uses set-output, and recommends it in the README and an example:

    Screenshot 2022-10-12 at 22 13 04

    Reacted by Dannii Willis, Oliver Salzburg, Robin James Kerrison and Nikolay
  5. lvpx
    closed this as completedin #956on Oct 13, 2022
  6. oliversalzburg commented on Nov 1, 2022

    @oliversalzburg
    oliversalzburg
    on Nov 1, 2022
    More actions

    There are also several set-output usages on https://github.com/actions/cache/blob/main/examples.md

    Reacted by Zach Burnett and Seol Park
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @Phantsure
    Phantsure

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.