From 8ec9acbebc0cdca10f9390733e958c69498b81d7 Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Fri, 15 Nov 2024 05:37:28 -0600 Subject: [PATCH 1/2] Update action.yaml On mobile app, why doesn't it let me name the branch. --- action.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/action.yaml b/action.yaml index 866ed7b..d0f4c2a 100644 --- a/action.yaml +++ b/action.yaml @@ -30,7 +30,7 @@ runs: - name: 'Check for jq - Unix-ish' id: jq-check-unix if: (runner.os == 'Linux' || runner.os == 'macOS') - shell: bash +e {0} + shell: sh # language=sh run: | _jq_bin="$(which jq)" @@ -42,7 +42,7 @@ runs: - name: 'Install jq - Unix-ish non-1.7' 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') - shell: bash + shell: sh env: JQ_VERSION: '${{ inputs.version }}' # language=sh @@ -50,7 +50,7 @@ runs: - name: 'Install jq - Unix-ish 1.7' if: (runner.os == 'Linux' || runner.os == 'macOS') && inputs.version == '1.7' && (steps.jq-check-unix.outputs.found == 'false' || inputs.force == 'true') - shell: bash + shell: sh env: JQ_VERSION: '${{ inputs.version }}' # language=sh From 599519ecd24740d116f45e0d7ea373a1f02fadce Mon Sep 17 00:00:00 2001 From: Daniel Carbone Date: Fri, 15 Nov 2024 05:43:39 -0600 Subject: [PATCH 2/2] +e on check --- action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index d0f4c2a..906ec0b 100644 --- a/action.yaml +++ b/action.yaml @@ -30,7 +30,7 @@ runs: - name: 'Check for jq - Unix-ish' id: jq-check-unix if: (runner.os == 'Linux' || runner.os == 'macOS') - shell: sh + shell: sh +e {0} # language=sh run: | _jq_bin="$(which jq)"