From d68d3fb86ce119f4f353df6a3771da2580adb668 Mon Sep 17 00:00:00 2001 From: td Date: Fri, 21 Jun 2024 15:55:38 +0530 Subject: [PATCH] chore: use not cancelled in actions instead of always --- .github/workflows/app.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index e965c25f..6b79a383 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -45,7 +45,7 @@ jobs: sudo apt-get update && sudo apt-get install --no-install-recommends --no-install-suggests -y curl lcov python3 python3-distutils libsqlite3-0 libsqlite3-dev ./scripts/test.sh - uses: actions/upload-artifact@v4 - if: always() + if: ${{ !cancelled() }} with: name: coverage_without_olm path: coverage_dir/ @@ -65,7 +65,7 @@ jobs: sudo apt-get update && sudo apt-get install --no-install-recommends --no-install-suggests -y curl lcov python3 python3-distutils libsqlite3-0 libsqlite3-dev libolm3 libssl3 ./scripts/test.sh - uses: actions/upload-artifact@v4 - if: always() + if: ${{ !cancelled() }} with: name: coverage path: coverage_dir/ @@ -73,7 +73,7 @@ jobs: merge_converage: - if: always() + if: ${{ !cancelled() }} runs-on: ubuntu-latest needs: [coverage, coverage_without_olm] steps: