Skip to content

Commit

Permalink
Attempting to fix semicolon issue...
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Apr 23, 2024
1 parent 5d843a9 commit 63eccfb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci-dispatch-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit 63eccfb

Please sign in to comment.