Skip to content

Commit

Permalink
use gha setup python
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Sep 18, 2024
1 parent 63af4ba commit 7cd5d88
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .github/actions/test-ruby/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,19 @@ runs:
bundler-cache: true
ruby-version: ${{ inputs.RUBY_VERSION }}

- name: Additional Setup
if: inputs.ADDITIONAL_SETUP != '[]'
shell: bash
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
- uses: actions/setup-python@v5
with:
python-version: '3.9.2'

# - name: Additional Setup
# if: inputs.ADDITIONAL_SETUP != '[]'
# shell: bash
# 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

- uses: actions/cache@v4
with:
Expand Down

0 comments on commit 7cd5d88

Please sign in to comment.