Skip to content

Commit 447213b

Browse files
committed
fix(ci): catch script errors
1 parent 00cd4b7 commit 447213b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/build.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,4 @@ jobs:
3030
cd ../ch32-data/build/
3131
git clone https://github.com/ch32-rs/ch32-metapac.git
3232
- name: Build Only
33-
run: |
34-
./ci.sh
33+
run: ./ci.sh

ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -ex
44
set -o pipefail
55

6-
for d in $(find examples -depth 1 -type d); do
6+
for d in $(find examples -maxdepth 1 -type d); do
77
(cd $d && cargo build --release)
88
done

0 commit comments

Comments
 (0)