diff --git a/.github/github_workflows.ex b/.github/github_workflows.ex index d7ccc1489..7651babaf 100644 --- a/.github/github_workflows.ex +++ b/.github/github_workflows.ex @@ -417,7 +417,7 @@ defmodule GithubWorkflows do [ name: "Test the script", if: "steps.result_cache.outputs.cache-hit != 'true'", - run: "/bin/#{shell} -c '(cd test/scripts) && expect script.exp #{os}.sh'", + run: "/bin/#{shell} -c 'cd test/scripts && expect script.exp #{os}.sh'", shell: "/bin/#{shell} -l {0}" ], [ diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9a8d61fa8..30b52bc95 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/bash -c '(cd test/scripts) && expect script.exp Linux.sh' + run: /bin/bash -c 'cd test/scripts && expect script.exp Linux.sh' shell: /bin/bash -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -58,7 +58,7 @@ jobs: run: brew install expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/bash -c '(cd test/scripts) && expect script.exp macOS.sh' + run: /bin/bash -c 'cd test/scripts && expect script.exp macOS.sh' shell: /bin/bash -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -94,7 +94,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/fish -c '(cd test/scripts) && expect script.exp Linux.sh' + run: /bin/fish -c 'cd test/scripts && expect script.exp Linux.sh' shell: /bin/fish -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -130,7 +130,7 @@ jobs: run: brew install expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/fish -c '(cd test/scripts) && expect script.exp macOS.sh' + run: /bin/fish -c 'cd test/scripts && expect script.exp macOS.sh' shell: /bin/fish -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -166,7 +166,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/zsh -c '(cd test/scripts) && expect script.exp Linux.sh' + run: /bin/zsh -c 'cd test/scripts && expect script.exp Linux.sh' shell: /bin/zsh -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -202,7 +202,7 @@ jobs: run: brew install expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/zsh -c '(cd test/scripts) && expect script.exp macOS.sh' + run: /bin/zsh -c 'cd test/scripts && expect script.exp macOS.sh' shell: /bin/zsh -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 353103299..01a3c3a74 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -29,7 +29,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/bash -c '(cd test/scripts) && expect script.exp Linux.sh' + run: /bin/bash -c 'cd test/scripts && expect script.exp Linux.sh' shell: /bin/bash -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -62,7 +62,7 @@ jobs: run: brew install expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/bash -c '(cd test/scripts) && expect script.exp macOS.sh' + run: /bin/bash -c 'cd test/scripts && expect script.exp macOS.sh' shell: /bin/bash -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -98,7 +98,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/fish -c '(cd test/scripts) && expect script.exp Linux.sh' + run: /bin/fish -c 'cd test/scripts && expect script.exp Linux.sh' shell: /bin/fish -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -134,7 +134,7 @@ jobs: run: brew install expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/fish -c '(cd test/scripts) && expect script.exp macOS.sh' + run: /bin/fish -c 'cd test/scripts && expect script.exp macOS.sh' shell: /bin/fish -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -170,7 +170,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/zsh -c '(cd test/scripts) && expect script.exp Linux.sh' + run: /bin/zsh -c 'cd test/scripts && expect script.exp Linux.sh' shell: /bin/zsh -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true' @@ -206,7 +206,7 @@ jobs: run: brew install expect - name: Test the script if: steps.result_cache.outputs.cache-hit != 'true' - run: /bin/zsh -c '(cd test/scripts) && expect script.exp macOS.sh' + run: /bin/zsh -c 'cd test/scripts && expect script.exp macOS.sh' shell: /bin/zsh -l {0} - name: Generate an app and start the server if: steps.result_cache.outputs.cache-hit != 'true'