From 63eccfb7e159af336abfe8429b4434ec4c9cfd91 Mon Sep 17 00:00:00 2001 From: Allison Piper Date: Tue, 23 Apr 2024 16:07:33 +0000 Subject: [PATCH] Attempting to fix semicolon issue... --- .github/workflows/ci-dispatch-job.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-dispatch-job.yml b/.github/workflows/ci-dispatch-job.yml index 4c9383328c3..e487d49fee6 100644 --- a/.github/workflows/ci-dispatch-job.yml +++ b/.github/workflows/ci-dispatch-job.yml @@ -71,12 +71,14 @@ jobs: uses: ./cccl/.github/actions/configure_cccl_sccache - name: Run command shell: su coder {0} + env: + COMMAND: ${{inputs.command}} run: | set -eo pipefail cd ~/cccl echo -e "\e[1;34mRunning as 'coder' user in $(pwd):\e[0m" - echo -e "\e[1;34m${{inputs.command}}\e[0m" - eval '${{inputs.command}}' || exit_code=$? + echo -e "\e[1;34m${COMMAND}\e[0m" + eval '${COMMAND}' || exit_code=$? if [ ! -z "$exit_code" ]; then echo -e "::group::️❗ \e[1;31mInstructions to Reproduce CI Failure Locally\e[0m" echo "::error:: To replicate this failure locally, follow the steps below:"