Skip to content

Commit

Permalink
Add shell
Browse files Browse the repository at this point in the history
  • Loading branch information
cjreed121 committed Jun 30, 2024
1 parent 45be086 commit 34f247c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ runs:
steps:
- name: Generate Matrix
id: generate-matrix
shell: bash
run: echo "matrix=$(python3 bin/generate_matrix.py ${{ inputs.docker-username }} ${{ inputs.base-commit }} ${{ inputs.head-commit }})" >> $GITHUB_OUTPUT
- name: Set Run Condition
id: set-run-docker
shell: bash
run: |
num_to_build=$(echo '${{ steps.generate-matrix.outputs.matrix }}' | jq '.include | length')
if [[ "$num_to_build" -eq 0 ]]; then
Expand Down

0 comments on commit 34f247c

Please sign in to comment.