From 1b6010222e80d020ded556ebcb36f28d4625120d Mon Sep 17 00:00:00 2001 From: sayomaki Date: Sun, 8 Oct 2023 04:05:31 +0800 Subject: [PATCH] workflows: deprecate ::set-output command --- .github/workflows/build-bottles.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-bottles.yml b/.github/workflows/build-bottles.yml index 497bee3..91f4411 100644 --- a/.github/workflows/build-bottles.yml +++ b/.github/workflows/build-bottles.yml @@ -114,10 +114,10 @@ jobs: cd bottles count=$(ls *.json | wc -l | xargs echo -n) echo "$count bottles" - echo "::set-output name=count::$count" + echo "count=$count" >> $GITHUB_OUTPUT failures=$(ls failed/*.json | wc -l | xargs echo -n) echo "$failures failed bottles" - echo "::set-output name=failures::$failures" + echo "failures=$failures" >> $GITHUB_OUTPUT - name: Upload failed bottles if: always() && steps.bottles.outputs.failures > 0