Skip to content

Commit e397bd8

Browse files
authored
Use sh in action (#15)
Use sh in each action stanza
1 parent 36b228e commit e397bd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ runs:
3030
- name: 'Check for jq - Unix-ish'
3131
id: jq-check-unix
3232
if: (runner.os == 'Linux' || runner.os == 'macOS')
33-
shell: bash +e {0}
33+
shell: sh +e {0}
3434
# language=sh
3535
run: |
3636
_jq_bin="$(which jq)"
@@ -42,15 +42,15 @@ runs:
4242
4343
- name: 'Install jq - Unix-ish non-1.7'
4444
if: (runner.os == 'Linux' || runner.os == 'macOS') && (inputs.version == '1.5' || inputs.version == '1.6') && (steps.jq-check-unix.outputs.found == 'false' || inputs.force == 'true')
45-
shell: bash
45+
shell: sh
4646
env:
4747
JQ_VERSION: '${{ inputs.version }}'
4848
# language=sh
4949
run: ${GITHUB_ACTION_PATH}/scripts/unixish.sh
5050

5151
- name: 'Install jq - Unix-ish 1.7'
5252
if: (runner.os == 'Linux' || runner.os == 'macOS') && inputs.version == '1.7' && (steps.jq-check-unix.outputs.found == 'false' || inputs.force == 'true')
53-
shell: bash
53+
shell: sh
5454
env:
5555
JQ_VERSION: '${{ inputs.version }}'
5656
# language=sh

0 commit comments

Comments
 (0)