From c99e0959872352b0b35ed650ec8e182ada443d29 Mon Sep 17 00:00:00 2001 From: Norayr Baghdasarov Date: Fri, 21 Jul 2023 11:09:06 +0400 Subject: [PATCH] Changed yaml file --- .github/workflows/pr.yaml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index de99c41af..54cb5850c 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -2,7 +2,7 @@ name: PR on: pull_request: - branches: [prod, dev, staging, v2] + branches: [ prod, dev, staging, v2 ] jobs: build: @@ -22,13 +22,10 @@ jobs: with: output: ' ' - name: Show changed files - run: echo ${{ steps.get_file_changes.outputs.files }} - - name: Join changed files into a single string - id: join_files - run: echo "::set-output name=files::${{ steps.get_file_changes.outputs.files.join(' ') }}" + run: echo ${{steps.get_file_changes.outputs.files}} - name: Build changed client - if: contains(steps.join_files.outputs.files, 'app/client') + if: contains(steps.get_file_changes.outputs.files, 'app/client') run: make build-docker-image-pr -e COMPONENT=client - name: Build changed api - if: contains(steps.join_files.outputs.files, 'app/api') + if: contains(steps.get_file_changes.outputs.files, 'app/api') run: make build-docker-image-pr -e COMPONENT=api