Skip to content

Commit d23bbc1

Browse files
committed
ci: adapt ARTIFACTS_SUFFIX if "features" not set
1 parent 4128efa commit d23bbc1

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/CICD.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: CICD
55
# spell-checker:ignore (jargon) SHAs deps dequote softprops subshell toolchain fuzzers dedupe devel profdata
66
# spell-checker:ignore (people) Peltoche rivy dtolnay Anson dawidd
77
# spell-checker:ignore (shell/tools) binutils choco clippy dmake dpkg esac fakeroot fdesc fdescfs gmake grcov halium lcov libclang libfuse libssl limactl mkdir nextest nocross pacman popd printf pushd redoxer rsync rustc rustfmt rustup shopt sccache utmpdump xargs
8-
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos getenforce gnueabihf issuecomment maint manpages msys multisize noconfirm nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils
8+
# spell-checker:ignore (misc) aarch alnum armhf bindir busytest coreutils defconfig DESTDIR gecos getenforce gnueabihf issuecomment maint manpages msys multisize noconfirm nofeatures nullglob onexitbegin onexitend pell runtest Swatinem tempfile testsuite toybox uutils
99

1010
env:
1111
PROJECT_NAME: coreutils
@@ -641,6 +641,8 @@ jobs:
641641
CARGO_CMD_OPTIONS=''
642642
;;
643643
esac
644+
# needed for target "aarch64-apple-darwin". There are two jobs, and the difference between them is whether "features" is set
645+
if [ -z "${{ matrix.job.features" ]; then ARTIFACTS_SUFFIX='-nofeatures' ; fi
644646
outputs CARGO_CMD
645647
outputs CARGO_CMD_OPTIONS
646648
outputs ARTIFACTS_SUFFIX

0 commit comments

Comments
 (0)