From 5e34f59b67301963954e2ab0be93cd922ba4b4d3 Mon Sep 17 00:00:00 2001 From: Dan Brodjieski Date: Tue, 21 May 2024 13:01:20 -0400 Subject: [PATCH] refactor: updated workflow to env files --- .github/workflows/versioner.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/versioner.yml b/.github/workflows/versioner.yml index ff3c15d97..483a343ce 100644 --- a/.github/workflows/versioner.yml +++ b/.github/workflows/versioner.yml @@ -24,12 +24,12 @@ jobs: CURRENT_BUILD=$(awk '/^build/ { print $NF }' VERSION.yaml) if [[ -z $CURRENT_BUILD ]];then echo "build: 1" >> VERSION.yaml - echo "::set-output name=NEWBUILD::1" + echo "NEWBUILD=1" >> $GITHUB_OUTPUT else NEW_BUILD=$((CURRENT_BUILD+1)) echo "$NEW_BUILD" - echo "::set-output name=NEWBUILD::$NEW_BUILD" + echo "NEWBUID=$NEW_BUILD" >> $GITHUB_OUTPUT sed -i "s/^build.*/build: $NEW_BUILD/" VERSION.yaml fi - name: Push commit