Skip to content

Commit 7f38f59

Browse files
committed
🔒 Enclose an environment variable in GitHub workflow script to prevent bash errors
1 parent 4a30cad commit 7f38f59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/uv-tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
# set pre-commit cache
2929
- name: set PY
30-
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
30+
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> "$GITHUB_ENV"
3131
- uses: actions/cache@v4
3232
with:
3333
path: ~/.cache/pre-commit

0 commit comments

Comments
 (0)