From 98c24aa88122952d959723234ebe327637963d9d Mon Sep 17 00:00:00 2001 From: Lunathir <18320914+lunathir@users.noreply.github.com> Date: Sat, 5 Nov 2022 20:16:52 -0700 Subject: [PATCH] Fix setoutput spam --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ec8ed890b..72bceb59e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,9 +59,9 @@ jobs: echo "MinGW cross target: ${mingw_target}" fi - echo "::set-output name=vswhere-target::${vswhere_target}" - echo "::set-output name=msvc-target::${msvc_target}" - echo "::set-output name=mingw-target::${mingw_target}" + echo "vswhere-target::${vswhere_target}" >> $GITHUB_OUTPUT + echo "msvc-target::${msvc_target}" >> $GITHUB_OUTPUT + echo "mingw-target::${mingw_target}" >> $GITHUB_OUTPUT - name: Set package identifier id: package-identify @@ -88,8 +88,8 @@ jobs: echo "Package identifier: ${package_name}" echo "Package file: ${package_name}${package_ext}" - echo "::set-output name=id::${package_name}" - echo "::set-output name=filename::${package_name}${package_ext}" + echo "id::${package_name}" >> $GITHUB_OUTPUT + echo "filename::${package_name}${package_ext}" >> $GITHUB_OUTPUT - name: Set build cores amount id: build-cores @@ -102,7 +102,7 @@ jobs: echo "Amount of cores we can build with: ${amount}" - echo "::set-output name=amount::${amount}" + echo "amount::${amount}" >> $GITHUB_OUTPUT - name: Setup Toolchain [Windows MSVC] if: ${{ matrix.config.compiler == 'msvc' }}