From 5e698ec435f2b997681705880cdffc926550096b Mon Sep 17 00:00:00 2001 From: mkolasinski-splunk <105011638+mkolasinski-splunk@users.noreply.github.com> Date: Tue, 13 Dec 2022 11:41:24 +0100 Subject: [PATCH] fix: patch set-output command (#15) --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 35ea614..5fd50d3 100644 --- a/action.yml +++ b/action.yml @@ -61,7 +61,7 @@ runs: run: pip install -r requirements_dev.txt - run: | if [ ! -z $INPUT_VERSION ]; then ARG_VERSION="--ta-version=${INPUT_VERSION}"; fi - echo "::set-output name=result::$(echo $ARG_VERSION)" + echo "result=$(echo $ARG_VERSION)" >> $GITHUB_OUTPUT echo running ucc-gen $ARG_VERSION ucc-gen $ARG_VERSION shell: bash @@ -92,4 +92,4 @@ runs: echo Removing trailing / from OUTPUT slim is picky OUTPUT=$(echo $OUTPUT | sed 's/\(.*\)\//\1/') fi - echo "::set-output name=result::$(echo $OUTPUT)" + echo "result=$(echo $OUTPUT)" >> $GITHUB_OUTPUT