Skip to content

Commit 98f617a

Browse files
committed
ci: fix "a sequence was not expected" error
in the CICD workflow
1 parent 137b2ce commit 98f617a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/CICD.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,9 @@ jobs:
473473
# strip the results
474474
strip target/size*/usr/local/bin/*
475475
- name: Test for hardlinks
476-
run: [ $(stat -c %i target/size-multi-release/usr/local/bin/cp) = $(stat -c %i target/size-multi-release/usr/local/bin/coreutils) ]
476+
shell: bash
477+
run: |
478+
[ $(stat -c %i target/size-multi-release/usr/local/bin/cp) = $(stat -c %i target/size-multi-release/usr/local/bin/coreutils) ]
477479
- name: Compute uutil release sizes
478480
shell: bash
479481
run: |
@@ -1284,10 +1286,10 @@ jobs:
12841286
persist-credentials: false
12851287
- uses: dtolnay/rust-toolchain@stable
12861288
- uses: Swatinem/rust-cache@v2
1287-
1289+
12881290
- name: Build SELinux utilities as stubs
12891291
run: cargo build -p uu_chcon -p uu_runcon
1290-
1292+
12911293
- name: Verify stub binaries exist
12921294
shell: bash
12931295
run: |
@@ -1298,7 +1300,7 @@ jobs:
12981300
test -f target/debug/chcon || exit 1
12991301
test -f target/debug/runcon || exit 1
13001302
fi
1301-
1303+
13021304
- name: Verify workspace builds with stubs
13031305
run: cargo build --features ${{ matrix.job.features }}
13041306

0 commit comments

Comments
 (0)