Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Deprecating save-state and set-output commands #363

Closed
ktasper opened this issue Oct 20, 2022 · 1 comment
Closed

Fix Deprecating save-state and set-output commands #363

ktasper opened this issue Oct 20, 2022 · 1 comment

Comments

@ktasper
Copy link
Contributor

ktasper commented Oct 20, 2022

As per Github's Annocument this repo should be updated to use:

- name: Save state
  run: echo "{name}={value}" >> $GITHUB_STATE

- name: Set output
  run: echo "{name}={value}" >> $GITHUB_OUTPUT

Instead of the derepecating:

- name: Save state
  run: echo "::save-state name={name}::{value}"

- name: Set output
  run: echo "::set-output name={name}::{value}"

I have a PR for this here

@EnricoMi
Copy link
Owner

Merged, thanks for raising this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants