mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-07-30 18:27:46 +07:00
Switch to $GITHUB_OUTPUT
This commit is contained in:
@ -43,7 +43,7 @@ Function Set-Output() {
|
||||
$value
|
||||
)
|
||||
if ($env:GITHUB_ACTIONS -eq 'true') {
|
||||
Write-Output "::set-output name=$output::$value"
|
||||
Add-Content "$output=$value" -Path $env:GITHUB_OUTPUT -Encoding utf8
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user