Deprecating save-state and set-output commands
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
GitHub Actions
で
set-output
,
save-state
がdeprecatedになった
代わりに
$GITHUB_STATE
や
$GITHUB_OUTPUT
を使う
code:yaml
- name: Save state
run: echo "{name}={value}" >> $GITHUB_STATE
- name: Set output
run: echo "{name}={value}" >> $GITHUB_OUTPUT
修正例
https://github.com/smartbank-inc/release-pr-workflow/pull/15