From b13ead1535ec1a4d076934c24f24ebfddf847ed0 Mon Sep 17 00:00:00 2001
From: Philip Offtermatt
Date: Mon, 11 Dec 2023 13:09:44 +0100
Subject: [PATCH] Fix if condition for trace upload
---
.github/workflows/test.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index be14486b41..7b7ea49457 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -127,7 +127,7 @@ jobs:
path: ./mbt-profile.out
- name: Archive MBT traces
uses: actions/upload-artifact@v3
- if: ${{ success() | failure() }} # to upload the traces only when the test failed
+ if: ${{ success() || failure() }} # to upload the traces only when the test failed
with:
name: mbt-traces
path: tests/mbt/driver/traces