mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
Fix job changed-files in ci.yml
When there are multiple crates, it would be in multiple lines, breaking github output
This commit is contained in:
parent
2feac66e14
commit
ac7fba5970
1 changed files with 1 additions and 1 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -66,7 +66,7 @@ jobs:
|
||||||
set -euxo pipefail
|
set -euxo pipefail
|
||||||
crates_changed="$(echo "$ALL_CHANGED_FILES" | grep crates | cut -d / -f 2)"
|
crates_changed="$(echo "$ALL_CHANGED_FILES" | grep crates | cut -d / -f 2)"
|
||||||
has_detect_target_changed="$(echo "$crates_changed" | grep -q detect-targets && echo true || echo false)"
|
has_detect_target_changed="$(echo "$crates_changed" | grep -q detect-targets && echo true || echo false)"
|
||||||
echo "crates_changed=$crates_changed" | tee -a "$GITHUB_OUTPUT"
|
echo "crates_changed=${crates_changed//$'\n'/ }" | tee -a "$GITHUB_OUTPUT"
|
||||||
echo "has_detect_target_changed=$has_detect_target_changed" | tee -a "$GITHUB_OUTPUT"
|
echo "has_detect_target_changed=$has_detect_target_changed" | tee -a "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
unit-tests:
|
unit-tests:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue