diff --git a/.github/workflows/ci-selftests.yml b/.github/workflows/ci-selftests.yml index 0a6100700..12b87e557 100644 --- a/.github/workflows/ci-selftests.yml +++ b/.github/workflows/ci-selftests.yml @@ -68,7 +68,7 @@ jobs: echo 'DONE' exit $RC - name: Archive artifacts - if: always() + if: ${{ failure() }} uses: actions/upload-artifact@v3 with: name: ci-selftests-${{ env.GIT_VERSION }}-run#${{ github.run_number }}