Merge pull request #1333 from kopackiw/issue-1270

Upgrade from deprecated GH Actions `set-output` command
This commit is contained in:
Hanno Braun 2022-11-09 22:04:02 +01:00 committed by GitHub
commit 9288a9bd36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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");
} }
} }