Skip to content

Commit 63f8928

Browse files
committed
CICD: Hot fix for permission error on Windows
1 parent 3745fe7 commit 63f8928

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/CICD.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,10 +1261,13 @@ jobs:
12611261
shell: bash
12621262
run: |
12631263
CARGO_FEATURES_OPTION='--features=${{ matrix.job.features }}' ;
1264+
# Restrict sort to standalone binary on Windows
1265+
# https://github.com/uutils/coreutils/issues/10861
1266+
test '${{ matrix.job.features }}' == feat_os_windows && unset COREUTILS || COREUTILS="-p coreutils --features=${f} --no-default-features"
12641267
for f in $(util/show-utils.sh ${CARGO_FEATURES_OPTION})
12651268
do
12661269
echo "Building and testing $f"
1267-
cargo test -p "uu_$f" -p coreutils --features=$f --no-default-features
1270+
cargo test -p "uu_$f" ${COREUTILS}
12681271
done
12691272
12701273
test_selinux:

0 commit comments

Comments
 (0)