Skip to content

Commit e5f8d6b

Browse files
committed
fail that job now
Signed-off-by: Pierre Fenoll <[email protected]>
1 parent 074b471 commit e5f8d6b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/self.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,10 +179,12 @@ jobs:
179179
180180
- name: cargo green +nightly udeps --all-targets net=ON cache=OFF remote=OFF
181181
run: |
182-
RUSTCBUILDX_LOG=debug \
183-
RUSTCBUILDX_LOG_PATH="$PWD"/logs.txt \
184-
cargo green +nightly udeps --all-targets || \
185-
cat logs.txt
182+
export RUSTCBUILDX_LOG=debug
183+
export RUSTCBUILDX_LOG_PATH="$PWD"/logs.txt
184+
if ! cargo green +nightly udeps --all-targets; then
185+
cat logs.txt
186+
exit 1
187+
fi
186188
187189
188190
builds:

0 commit comments

Comments
 (0)