Fix job changed-files

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2024-06-12 00:30:31 +10:00
parent 7f1994e205
commit 97a360aae9
No known key found for this signature in database
GPG key ID: 76D1E687CA3C4928

View file

@ -62,7 +62,6 @@ jobs:
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
set -euxo pipefail
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)"