From 902c8cb897e14e015fbe35003fc8bd666b3ea640 Mon Sep 17 00:00:00 2001 From: Ryan J Field Date: Tue, 8 Oct 2024 08:17:59 +0100 Subject: [PATCH] Fix always in workflow --- .github/workflows/test-build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-build.yaml b/.github/workflows/test-build.yaml index 14a82881..5ff699d0 100644 --- a/.github/workflows/test-build.yaml +++ b/.github/workflows/test-build.yaml @@ -40,9 +40,8 @@ jobs: - uses: actions/setup-python@v5 with: python-version: '3.12' - #architecture: 'x64' - name: Checkout FAIRDataPipeline/FAIR-CLI - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: FAIRDataPipeline/FAIR-CLI path: FAIR-CLI @@ -86,7 +85,7 @@ jobs: rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check") shell: Rscript {0} - name: Show testthat output - if: always() + if: ${{ !cancelled() }} run: find check -name 'testthat.Rout*' -exec cat '{}' \; || true shell: bash - name: Upload check results