From 4c1de74ae4648ffdde1bc900bfcd182e51c719db Mon Sep 17 00:00:00 2001 From: Arun Date: Sat, 30 Dec 2023 11:50:22 -0800 Subject: [PATCH] ci: Use GITHUB_OUTPUT envvar instead of set-output command --- .github/workflows/checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index b07df6c90c7..eff78c399f6 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -19,8 +19,8 @@ jobs: DEFAULT_BRANCH=$(curl -s https://api.github.com/repos/syndesisio/syndesis |jq -r .default_branch) IS_DEFAULT_BRANCH=$(test "refs/heads/${DEFAULT_BRANCH}" == "${GITHUB_REF}" && echo true || echo false) IS_RELEASE_BRANCH=$(echo "${GITHUB_REF}" | grep -q -e '^refs/heads/[0-9]\+\.[0-9]\+\.x' && echo true || echo false) - echo "::set-output name=is-default-branch::${IS_DEFAULT_BRANCH}" - echo "::set-output name=is-release-branch::${IS_RELEASE_BRANCH}" + echo "is-default-branch=${IS_DEFAULT_BRANCH}" >> $GITHUB_OUTPUT + echo "is-release-branch=${IS_RELEASE_BRANCH}" >> $GITHUB_OUTPUT changes: needs: setup runs-on: ubuntu-latest