From 5d818d4ee7da831d645d554fb1963c9f8f45dd60 Mon Sep 17 00:00:00 2001 From: Carlos Santos <4a.santos@gmail.com> Date: Thu, 22 Dec 2022 11:24:15 +0100 Subject: [PATCH] ci: Updated workflow for checking out the openvidu repository branch --- .github/workflows/openvidu-call-e2e-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/openvidu-call-e2e-test.yml b/.github/workflows/openvidu-call-e2e-test.yml index 513d855a..efc2a6a6 100644 --- a/.github/workflows/openvidu-call-e2e-test.yml +++ b/.github/workflows/openvidu-call-e2e-test.yml @@ -26,8 +26,10 @@ jobs: with: node-version: '16' - name: Build openvidu-browser and openvidu-angular + env: + BRANCH_NAME: ${{ github.event.client_payload.branch-name || 'master' }} run: | - git clone https://github.com/OpenVidu/openvidu.git && \ + git clone -b ${BRANCH_NAME} https://github.com/OpenVidu/openvidu.git && \ cd openvidu/openvidu-browser && \ npm install && \ npm run build && \