mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-16 07:36:38 +00:00
Fix job changed-files
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
97a360aae9
commit
c0d3f75738
1 changed files with 2 additions and 3 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -62,9 +62,8 @@ jobs:
|
|||
env:
|
||||
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||
run: |
|
||||
echo $ALL_CHANGED_FILES
|
||||
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)"
|
||||
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 "crates_changed=$crates_changed" | tee -a "$GITHUB_OUTPUT"
|
||||
echo "has_detect_target_changed=$has_detect_target_changed" | tee -a "$GITHUB_OUTPUT"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue