From 9719293e8d3e44ed84a437850c301eda194f372f Mon Sep 17 00:00:00 2001
From: pyshx <piyushchauhan1004@gmail.com>
Date: Wed, 18 Sep 2024 00:28:54 +0530
Subject: [PATCH] ci: add checkout build action

---
 .github/workflows/ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6ba7f88a1..359595ede 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -136,6 +136,8 @@ jobs:
       runs-on: ubuntu-latest
       if: ${{ !failure() && needs.ci-api.result == 'success' && github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'release' || startsWith(github.ref_name, 'release/')) }}
       steps:
+        - uses: actions/checkout@v4
+
         - uses: ./.github/actions/build_deploy_api
           with:
             sha_short: ${{ needs.ci-collect-info.outputs.sha_short }}
@@ -152,6 +154,8 @@ jobs:
     runs-on: ubuntu-latest
     if: ${{ !failure() && needs.ci-ui.result == 'success' && github.event_name == 'push' && (github.ref_name == 'main' || github.ref_name == 'release' || startsWith(github.ref_name, 'release/')) }}
     steps:
+      - uses: actions/checkout@v4
+
       - uses: ./.github/actions/build_deploy_ui
         with:
           sha_short: ${{ needs.ci-collect-info.outputs.sha_short }}