From c7288dc0925cb41484625b125b96d1e5a36fe8d6 Mon Sep 17 00:00:00 2001 From: rdulmina Date: Tue, 19 Nov 2024 12:03:05 +0530 Subject: [PATCH] Fix branch checkout command --- .github/workflows/pull_request_full_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request_full_build.yml b/.github/workflows/pull_request_full_build.yml index b33671d4a6e4..89ae24cef6d9 100644 --- a/.github/workflows/pull_request_full_build.yml +++ b/.github/workflows/pull_request_full_build.yml @@ -96,7 +96,7 @@ jobs: - name: Checkout non-default branch run: | for module_name in $(jq -r '.standard_library| .[] | select(.level==${{ matrix.level }}) | .name' extensions.json); do \ - cd $module_name && git fetch origin && git checkout -b typeDesc-stmt && cd ..; \ + cd $module_name && git fetch origin && git show-ref --quiet refs/heads/typeDesc-stmt && git checkout typeDesc-stmt && cd ..; \ done - name: Update Lang Version in Module