From daa080ed9217b403ec3db3b19b8117ee33e5f907 Mon Sep 17 00:00:00 2001
From: Yaroslav Lobankov <y.lobankov@tarantool.org>
Date: Wed, 29 May 2024 23:17:07 +0400
Subject: [PATCH] ci: fix submodule_update.yml workflow

- Fix the `test-sdk` job according to recent changes in SDK
- Fix sending VK Teams message on failure

NO_DOC=ci
NO_TEST=ci
NO_CHANGELOG=ci
---
 .github/workflows/submodule_update.yml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/submodule_update.yml b/.github/workflows/submodule_update.yml
index ec82707e44..12372481a2 100644
--- a/.github/workflows/submodule_update.yml
+++ b/.github/workflows/submodule_update.yml
@@ -57,7 +57,7 @@ jobs:
 
       - name: Send VK Teams message on failure
         if: failure()
-        uses: ./.github/actions/report-job-status
+        uses: ./tarantool/.github/actions/report-job-status
         with:
           bot-token: ${{ secrets.VKTEAMS_BOT_TOKEN }}
 
@@ -85,7 +85,7 @@ jobs:
         with:
           repository: 'tarantool/sdk'
           github_token: ${{ secrets.EE_UPDATE_SUBMODULE_TOKEN }}
-          checkout_branch: 'master'
+          checkout_branch: '1.x-2.x'
           # Same branch name pattern as used in sdk_test workflow
           feature_branch: ${{ env.SDK_FEATURE_BRANCH }}
           submodule: ${{ env.SDK_SUBMODULE }}
@@ -103,8 +103,13 @@ jobs:
             which is the HEAD of branch
             tarantool/tarantool@${{ github.ref_name }}.
 
+      - if: failure()
+        uses: actions/checkout@v4
+        with:
+          path: fail/tarantool
+
       - name: Send VK Teams message on failure
         if: failure()
-        uses: ./.github/actions/report-job-status
+        uses: ./fail/tarantool/.github/actions/report-job-status
         with:
           bot-token: ${{ secrets.VKTEAMS_BOT_TOKEN }}
-- 
GitLab