diff --git a/.github/workflows/client-build.yml b/.github/workflows/client-build.yml index 64162384e54..a801b59da56 100644 --- a/.github/workflows/client-build.yml +++ b/.github/workflows/client-build.yml @@ -66,23 +66,23 @@ jobs: with: fetch-tags: true - # - name: Get changed files in the client folder - # id: changed-files-specific - # uses: tj-actions/changed-files@v41 - # with: - # files: "app/client/**" - - - name: Updating the client changed file variable + - name: Get changed files in the client folder id: changed-files-specific - run: echo "any_changed=true" >> "$GITHUB_OUTPUT" + uses: tj-actions/changed-files@v41 + with: + files: "app/client/**" - #- name: Run step if any file(s) in the client folder change - # if: steps.changed-files-specific.outputs.any_changed == 'true' - # env: - # ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }} - # run: | - # echo "One or more files in the server folder has changed." - # echo "List all the files that have changed: $ALL_CHANGED_FILES" + # - name: Updating the client changed file variable + # id: changed-files-specific + # run: echo "any_changed=true" >> "$GITHUB_OUTPUT" + + - name: Run step if any file(s) in the client folder change + if: steps.changed-files-specific.outputs.any_changed == 'true' + env: + ALL_CHANGED_FILES: ${{ steps.changed-files-specific.outputs.all_changed_files }} + run: | + echo "One or more files in the server folder has changed." + echo "List all the files that have changed: $ALL_CHANGED_FILES" - name: Check compliance if: inputs.pr != 0 && steps.changed-files-specific.outputs.any_changed == 'true' @@ -209,11 +209,11 @@ jobs: git config --global user.email "$gituseremail" git config --global user.name "$gituser" git clone https://$cachetoken@github.com/appsmithorg/cibuildcache.git - git lfs install - git lfs migrate import --everything --yes if [ "$reponame" = "appsmith" ]; then export repodir="CE"; fi if [ "$reponame" = "appsmith-ee" ]; then export repodir="EE"; fi cd cibuildcache/$repodir/release/client + git lfs install + git lfs migrate import --everything --yes git lfs pull ./build.tar mv ./build.tar ../../../../../build.tar