From 323bbbf63b758955da9305751ef546329a8a364c Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Thu, 21 Apr 2022 16:53:37 +0200 Subject: [PATCH] workflows/publish.yml: Run the workflow on success and failure only. (#6531) * workflows/publish.yml: Run the workflow on success and failure only. This prevents trying to run when the trigger was cancelled or skipped. In these cases there will be no event file to upload. Signed-off-by: Abdelatif Guettouche * scripts/sketch_utils.sh: Move the logic that gets the build dir after the part that retrieves the arguments. Signed-off-by: Abdelatif Guettouche * workflows/hil.yml: Update the HIL runners tags. Signed-off-by: Abdelatif Guettouche * workflows/hil.yml: Remove the Check Artifacts step. That was only useful for debugging. Signed-off-by: Abdelatif Guettouche --- .github/scripts/sketch_utils.sh | 15 +++++++++------ .github/workflows/hil.yml | 12 ++++++------ .github/workflows/publish.yml | 3 ++- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/scripts/sketch_utils.sh b/.github/scripts/sketch_utils.sh index 72645d3c..abe3db2b 100755 --- a/.github/scripts/sketch_utils.sh +++ b/.github/scripts/sketch_utils.sh @@ -7,12 +7,6 @@ function build_sketch(){ # build_sketch