From 86e683bc92fea4913d5c3363d4c87c4f721c7580 Mon Sep 17 00:00:00 2001 From: Boris Serdiuk Date: Tue, 18 Feb 2025 19:13:19 +0100 Subject: [PATCH] always upload build artifacts --- .github/actions/build-repository/action.yml | 2 +- .github/workflows/build-lint-test.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/build-repository/action.yml b/.github/actions/build-repository/action.yml index f77bc91..79c8be3 100644 --- a/.github/actions/build-repository/action.yml +++ b/.github/actions/build-repository/action.yml @@ -120,7 +120,7 @@ runs: path: lib/*.tgz - name: Upload additional artifacts - if: ${{ inputs.artifact-path != '' && inputs.artifact-name != '' }} + if: ${{ always() && inputs.artifact-path != '' && inputs.artifact-name != '' }} uses: actions/upload-artifact@v4 with: name: ${{ inputs.artifact-name }} diff --git a/.github/workflows/build-lint-test.yml b/.github/workflows/build-lint-test.yml index 5f3d32b..ed7e8c0 100644 --- a/.github/workflows/build-lint-test.yml +++ b/.github/workflows/build-lint-test.yml @@ -6,7 +6,7 @@ on: skip-tests: required: false type: boolean - default: false + default: false skip-codeql: type: boolean description: Skip CodeQL checks @@ -71,7 +71,7 @@ jobs: artifact-path: ${{ inputs.artifact-path }} artifact-name: ${{ inputs.artifact-name }} - name: Codecov - if: ${{ inputs.skip-codecov == false && always() }} + if: ${{ inputs.skip-codecov == false }} uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }}