Skip to content

Commit 770b125

Browse files
Use GITHUB_ENV not GITHUB_PATH
That's what happens when the example of how to do one thing is in the section about how to do something else.
1 parent 8ccdfeb commit 770b125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
$QuarterHours = [Math]::Floor($Now.Minute / 15.0)
4949
$Revision = $Hours + $QuarterHours + 1
5050
$BuildId = $Now.ToString("yyyyMMdd") + "." + $Revision
51-
Write-Output "_AspNetContribBuildNumber=${BuildId}" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
51+
Write-Output "_AspNetContribBuildNumber=${BuildId}" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
5252
5353
- name: Build, Test and Package
5454
if: ${{ runner.os == 'Windows' }}

0 commit comments

Comments
 (0)