mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-06-28 09:04:47 -05:00
Update workflows to remove ::set-output
(#2384)
remove ::set-output usage remove `$version` asc a enviroment variable as ot's not used
This commit is contained in:

committed by
GitHub

parent
df2cd71d1e
commit
bc213d34d9
3
.github/workflows/pre-release.yaml
vendored
3
.github/workflows/pre-release.yaml
vendored
@ -23,8 +23,7 @@ jobs:
|
||||
Get-Content ./winutil.ps1 -TotalCount 30 | ForEach-Object {
|
||||
if ($_ -match 'Version\s*:\s*(\d{2}\.\d{2}\.\d{2})') {
|
||||
$version = "pre"+$matches[1]
|
||||
echo "version=$version" >> $GITHUB_ENV
|
||||
echo "::set-output name=version::$version"
|
||||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
break
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user