Skip to content

Commit

Permalink
use eval
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Sep 18, 2024
1 parent 6e7be07 commit a8bd2e4
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/actions/test-ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,9 @@ runs:
run: |
echo "$ADDITIONAL_SETUP" | jq -r '.[]' | while read -r command; do
echo "Executing additional setup command: $command"
$command
eval "$command"
done
# - name: Additional Setup
# if: inputs.ADDITIONAL_SETUP != '[]'
# shell: bash
# # env:
# # ADDITIONAL_SETUP: ${{ inputs.ADDITIONAL_SETUP }}
# run: |
# 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:
path: vendor/bundle
Expand Down

0 comments on commit a8bd2e4

Please sign in to comment.