Skip to content

Commit 25a9bad

Browse files
Judahmeekjustin808
authored andcommitted
fix step output
1 parent aa02878 commit 25a9bad

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
id: determine-matrix
4545
run: |
4646
if [ "${{ inputs.force_run }}" = "true" ] || [ "${{ steps.check-label.outputs.result }}" = "true" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
47-
echo 'result=["latest"]' | jq -c . >> "$GITHUB_OUTPUT"
47+
echo "result=[\"latest\"]" >> "$GITHUB_OUTPUT"
4848
else
49-
echo 'result=["latest","minimum"]' | jq -c . >> "$GITHUB_OUTPUT"
49+
echo "result=[\"latest\",\"minimum\"]" >> "$GITHUB_OUTPUT"
5050
fi
5151
- name: Detect relevant changes
5252
id: detect

.github/workflows/gem-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ jobs:
4848
id: determine-matrix
4949
run: |
5050
if [ "${{ inputs.force_run }}" = "true" ] || [ "${{ steps.check-label.outputs.result }}" = "true" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
51-
echo 'result=["latest"]' | jq -c . >> "$GITHUB_OUTPUT"
51+
echo "result=[\"latest\"]" >> "$GITHUB_OUTPUT"
5252
else
53-
echo 'result=["latest","minimum"]' | jq -c . >> "$GITHUB_OUTPUT"
53+
echo "result=[\"latest\",\"minimum\"]" >> "$GITHUB_OUTPUT"
5454
fi
5555
- name: Detect relevant changes
5656
id: detect

.github/workflows/integration-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ jobs:
4646
id: determine-matrix
4747
run: |
4848
if [ "${{ inputs.force_run }}" = "true" ] || [ "${{ steps.check-label.outputs.result }}" = "true" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
49-
echo 'result=["latest"]' | jq -c . >> "$GITHUB_OUTPUT"
49+
echo "result=[\"latest\"]" >> "$GITHUB_OUTPUT"
5050
else
51-
echo 'result=["latest","minimum"]' | jq -c . >> "$GITHUB_OUTPUT"
51+
echo "result=[\"latest\",\"minimum\"]" >> "$GITHUB_OUTPUT"
5252
fi
5353
- name: Detect relevant changes
5454
id: detect

.github/workflows/package-js-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
id: determine-matrix
5151
run: |
5252
if [ "${{ inputs.force_run }}" = "true" ] || [ "${{ steps.check-label.outputs.result }}" = "true" ] || [ "${{ github.ref }}" = "refs/heads/master" ]; then
53-
echo 'result=["22"]' | jq -c . >> "$GITHUB_OUTPUT"
53+
echo "result=[\"22\"]" >> "$GITHUB_OUTPUT"
5454
else
55-
echo 'result=["22","20"]' | jq -c . >> "$GITHUB_OUTPUT"
55+
echo "result=[\"22\",\"20\"]" >> "$GITHUB_OUTPUT"
5656
fi
5757
- name: Detect relevant changes
5858
id: detect

0 commit comments

Comments
 (0)