Skip to content

Commit 5fa562d

Browse files
Unify echo call syntax (#308)
1 parent 7bfcda3 commit 5fa562d

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/actions/mise-project-setup/init.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ echo "::group::Environment variable changes"
8989
echo "${rustup_home}" | tr -d '\n'
9090
echo
9191

92-
echo MISE_DEBUG=1
93-
echo RUST_LOG=uv=debug
92+
echo "MISE_DEBUG=1"
93+
echo "RUST_LOG=uv=debug"
9494
} | tee -a "${GITHUB_ENV}"
9595
echo "::endgroup::"
9696

@@ -108,10 +108,10 @@ echo "::group::Outputs from init"
108108
# - Python: Ubuntu
109109
# - Rust: Ubuntu, Windows and macOS
110110
if [[ "${RUNNER_OS}" = "Linux" ]]; then
111-
echo solvers/cpp
112-
echo solvers/python
111+
echo "solvers/cpp"
112+
echo "solvers/python"
113113
fi
114-
echo solvers/rust
114+
echo "solvers/rust"
115115
elif [[ "${DIRECTORY}" != "." ]]; then
116116
if [[ "${DIRECTORY}" != "aoc-main" ]]; then
117117
echo "aoc-main"

.github/actions/uv-project-setup/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ runs:
4646
echo "::endgroup::"
4747
done
4848
49-
first_dir_with_uv=$(echo $DIRECTORIES | cut -d ' ' -f 1)
49+
first_dir_with_uv=$(echo "$DIRECTORIES" | cut -d ' ' -f 1)
5050
echo "::group::Prune uv cache"
5151
pushd "$first_dir_with_uv"
5252
# --ci switch removes build-system dependencies, unless they are pinned to specific version
@@ -81,7 +81,7 @@ runs:
8181

8282
- name: Adjust environment for rest of workflow
8383
run: |
84-
echo ::group::Environment changes for rest of workflow
84+
echo "::group::Environment changes for rest of workflow"
8585
echo "Set uv to locked mode: UV_LOCKED=1"
8686
echo "UV_LOCKED=1" >> "$GITHUB_ENV"
8787
echo "Set uv to offline mode: UV_OFFLINE=1"

0 commit comments

Comments
 (0)