Skip to content

Commit e0819a9

Browse files
[STYLE] More Improved Quoting in CI Configs (- WIP #266 -)
Changes in file .github/workflows/Tests.yml: * refactored `$GITHUB_OUTPUT` to `"$GITHUB_OUTPUT"`
1 parent 81e7e40 commit e0819a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/Tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@ jobs:
4242
- id: check
4343
run: |
4444
if [[ "${{ github.event.workflow_run.conclusion }}" == "success" ]]; then
45-
echo "should_run=true" >> $GITHUB_OUTPUT
45+
echo "should_run=true" >> "$GITHUB_OUTPUT"
4646
else
47-
echo "should_run=false" >> $GITHUB_OUTPUT
47+
echo "should_run=false" >> "$GITHUB_OUTPUT"
4848
fi
4949
- id: get_env
5050
run: |
5151
ENV_VALUE=$(gh api "${{ github.event.workflow_run.artifacts_url }}" --jq '.environment')
5252
if [[ -n "$ENV_VALUE" ]]; then
53-
echo "environment=$ENV_VALUE" >> $GITHUB_OUTPUT
53+
echo "environment=$ENV_VALUE" >> "$GITHUB_OUTPUT"
5454
else
55-
echo "environment=Experimenting" >> $GITHUB_OUTPUT # Default fallback
55+
echo "environment=Experimenting" >> "$GITHUB_OUTPUT" # Default fallback
5656
fi
5757
5858

0 commit comments

Comments
 (0)