GitHub Actions: Do not create Allure report for cancelled jobs (#2813)

If a workflow is cancelled, do not delay its finishing by creating an allure
report.
This commit is contained in:
Alexander Bayandin
2022-11-15 10:27:59 +00:00
committed by GitHub
parent f87017c04d
commit 03190a2161
3 changed files with 3 additions and 3 deletions

View File

@@ -190,7 +190,7 @@ runs:
prefix: latest
- name: Create Allure report
if: always()
if: success() || failure()
uses: ./.github/actions/allure-report
with:
action: store

View File

@@ -265,7 +265,7 @@ jobs:
PERF_TEST_RESULT_CONNSTR: "${{ secrets.PERF_TEST_RESULT_CONNSTR }}"
- name: Create Allure report
if: always()
if: success() || failure()
uses: ./.github/actions/allure-report
with:
action: generate

View File

@@ -305,7 +305,7 @@ jobs:
image: 369495373322.dkr.ecr.eu-central-1.amazonaws.com/rust:pinned
options: --init
needs: [ regress-tests, benchmarks ]
if: always()
if: success() || failure()
strategy:
fail-fast: false
matrix: