Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Conversation

@tobiasehlert
Copy link

Due to deprecation of save-state and set-output commands in GitHub Action workflows, this PR should prevent workflows to fail after the 31st May 2023.

Please verify that the workflow is behaving as expected :)

Link to GitHub blogg:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Old way of working

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

New way of working

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

@tobiasehlert tobiasehlert requested a review from a team May 9, 2023 10:27
@tobiasehlert tobiasehlert self-assigned this May 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants