From d70aefa0ee1b620d8e23eb5c030977f7a58613f6 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..082d052d7b02 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 checkout -t origin/typeDesc-stmt || : && cd ..; \ done - name: Update Lang Version in Module