Skip to content

Commit 7ab71a3

Browse files
committed
ci: replace deprecated set-output commands
1 parent 4e688bc commit 7ab71a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
shell: pwsh
5252
run: |
5353
$d = (.\cpython\PCbuild\build.bat -V) | %{ if($_ -match '\s+(\w+):\s*(.+)\s*$') { @{$Matches[1] = $Matches[2];} }};
54-
echo ("::set-output name=python_version::" + $d.PythonVersion)
55-
echo ("::set-output name=git_version::" + (git -C cpython describe --tags --long))
54+
echo ("python_version=" + $d.PythonVersion) >> $env:GITHUB_OUTPUT
55+
echo ("git_version=" + (git -C cpython describe --tags --long)) >> $env:GITHUB_OUTPUT
5656
5757
# - name: Get external libs (sources)
5858
# shell: pwsh

0 commit comments

Comments
 (0)