Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit 01dab2f

Browse files
fix output path for github env variable
1 parent b63e416 commit 01dab2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ runs:
3535
3636
$projectPath = (Get-Item $versionFile).Directory.Parent.FullName
3737
Write-Host "Unity project path: `"$projectPath`""
38-
"project-path=$projectPath" >> $GITHUB_OUTPUT
38+
"project-path=$projectPath" >> $env:GITHUB_ENV
3939
4040
$version = Get-Content $versionFile
4141
$pattern = '(?<version>(?:(?<major>\d+)\.)?(?:(?<minor>\d+)\.)?(?:(?<patch>\d+[fab]\d+)\b))|((?:\((?<revision>\w+))\))'
@@ -220,7 +220,7 @@ runs:
220220
221221
Write-Host ""
222222
Write-Host "UnityEditor path set to: $editorPath"
223-
"editor-path=$editorPath" >> $GITHUB_OUTPUT
223+
"editor-path=$editorPath" >> $env:GITHUB_ENV
224224
Write-Host "::endgroup::"
225225
exit 0
226226
shell: pwsh

0 commit comments

Comments
 (0)