From da70d956c88e5a8755cf5eab6671144781012171 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 2 Jan 2023 05:32:24 +0100 Subject: set-output is deprecated --- action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yml b/action.yml index 1448e6e..a1fac41 100644 --- a/action.yml +++ b/action.yml @@ -72,7 +72,7 @@ runs: $bin_dir = & $exe $args -c "import sysconfig; print(sysconfig.get_path('scripts', 'posix_user'))" } - echo "::set-output name=bin_dir::$bin_dir" + echo "bin_dir=$bin_dir" >> $env:GITHUB_OUTPUT env: PIP_NO_PYTHON_VERSION_WARNING: 1 PIP_DISABLE_PIP_VERSION_CHECK: 1 @@ -146,8 +146,8 @@ runs: } $librarydir = Join-Path $boost_dir 'stage' $platformdir $configuration 'lib' - echo "::set-output name=root::$boost_dir" - echo "::set-output name=librarydir::$librarydir" + echo "root=$boost_dir" >> $env:GITHUB_OUTPUT + echo "librarydir=$librarydir" >> $env:GITHUB_OUTPUT shell: pwsh branding: -- cgit v1.2.3