diff --git a/.github/actions/test-ruby/action.yml b/.github/actions/test-ruby/action.yml index 3ac2d019..2985a703 100644 --- a/.github/actions/test-ruby/action.yml +++ b/.github/actions/test-ruby/action.yml @@ -51,13 +51,19 @@ runs: - name: Additional Setup if: inputs.ADDITIONAL_SETUP != '[]' shell: bash - env: - ADDITIONAL_SETUP: ${{ inputs.ADDITIONAL_SETUP }} + # env: + # ADDITIONAL_SETUP: ${{ inputs.ADDITIONAL_SETUP }} run: | - echo "$ADDITIONAL_SETUP" | jq -r '.[]' | while read -r command; do - echo "Executing command: $command" - $command + additional_setup='${{ inputs.ADDITIONAL_SETUP }}' + echo "$additional_setup" | jq -r '.[]' | while read -r command; do + echo "Executing additional setup command: $command" + eval "$command done + # run: | + # echo "$ADDITIONAL_SETUP" | jq -r '.[]' | while read -r command; do + # echo "Executing command: $command" + # $command + # done - uses: actions/cache@v4 with: