Upgrade from deprecated GH Actions `set-output` command

This commit is contained in:
kopackiw 2022-11-09 20:22:45 +01:00
parent b1f0656150
commit 6d7a48ec51
1 changed files with 1 additions and 1 deletions

View File

@ -71,6 +71,6 @@ impl Actions {
// Set an "output" in GitHub Actions // Set an "output" in GitHub Actions
pub fn set_output(key: Outputs, value: &str) { pub fn set_output(key: Outputs, value: &str) {
log::debug!("setting output name={key} value={value}"); log::debug!("setting output name={key} value={value}");
println!("::set-output name={key}::{value}"); println!("{key}={value} >> $GITHUB_OUTPUT");
} }
} }