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

ci: Use GITHUB_OUTPUT envvar instead of set-output command #10005

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading