Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10005 from arunsathiya/1.15.x
Browse files Browse the repository at this point in the history
ci: Use GITHUB_OUTPUT envvar instead of set-output command
  • Loading branch information
phantomjinx authored Jan 8, 2024
2 parents 8a6bb8b + 4c1de74 commit 0a1bd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a1bd78

Please sign in to comment.