netdata / msi-installer

Netdata installer for Windows using WSL2
GNU General Public License v3.0
21 stars 2 forks source link

Fix deprecated gha outputs #37

Closed dimko closed 1 year ago

dimko commented 1 year ago

Replace the deprecated set-output in github actions with ... >> $GITHUB_OUTPUT

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

TL;DR

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

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

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

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

Ref: https://github.com/netdata/infra/issues/3541