Skip to content

Commit 5fc6205

Browse files
authored
Show a warning about missing jq when triggered by a pull request (#19)
1 parent 1ada909 commit 5fc6205

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ runs:
4848
esac
4949
echo "$folder" >> $GITHUB_PATH
5050
shell: bash
51+
- if: ${{ github.event_name == 'pull_request' }}
52+
run: command -V jq || echo "::warning::$WARNING"
53+
shell: bash
54+
env:
55+
WARNING: 'To be able to properly obtain the originating PR-number, Testspace requires the jq utility to be installed on your OS image (named jq/jq.exe and on the system PATH)'
5156
- run: |
5257
testspace --version
5358
domain=${{ inputs.domain }}

0 commit comments

Comments
 (0)