From c80639e0c936c79b2ea70ce48b664af47782070b Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 18 Sep 2024 13:21:51 -0700 Subject: [PATCH] use env var --- .github/actions/test-ruby/action.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/actions/test-ruby/action.yml b/.github/actions/test-ruby/action.yml index 5bd303e3..d0579d16 100644 --- a/.github/actions/test-ruby/action.yml +++ b/.github/actions/test-ruby/action.yml @@ -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