Skip to content

Commit

Permalink
use env var
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Sep 18, 2024
1 parent aa3cfcf commit c80639e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions .github/actions/test-ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,6 @@ runs:
$command
done
- name: Execute additional commands
if: inputs.ADDITIONAL_COMMANDS != '[]'
shell: bash
env:
ADDITIONAL_COMMANDS: ${{ inputs.ADDITIONAL_COMMANDS }}
run: |
echo "$ADDITIONAL_COMMANDS" | jq -r '.[]' | while read -r command; do
echo "Executing command: $command"
if [[ $command == bundle* || $command == rake* ]]; then
$command
else
echo "Skipping unauthorized command: $command"
fi
done
- uses: actions/cache@v4
with:
path: vendor/bundle
Expand Down

0 comments on commit c80639e

Please sign in to comment.