diff --git a/.github/workflows/evergreen.yaml b/.github/workflows/evergreen.yaml index 13005138cfd5..888d955f234e 100644 --- a/.github/workflows/evergreen.yaml +++ b/.github/workflows/evergreen.yaml @@ -31,6 +31,7 @@ jobs: platform: evergreen-x64 nightly: ${{ github.event.inputs.nightly }} run_api_leak_detector: true + keep_artifacts: libcobalt.so evergreen-arm-hardfp: uses: ./.github/workflows/main.yaml permissions: @@ -40,6 +41,7 @@ jobs: platform: evergreen-arm-hardfp nightly: ${{ github.event.inputs.nightly }} run_api_leak_detector: true + keep_artifacts: libcobalt.so evergreen-arm-softfp: uses: ./.github/workflows/main.yaml permissions: @@ -49,6 +51,7 @@ jobs: platform: evergreen-arm-softfp nightly: ${{ github.event.inputs.nightly }} run_api_leak_detector: true + keep_artifacts: libcobalt.so evergreen-arm64: uses: ./.github/workflows/main.yaml permissions: @@ -58,3 +61,4 @@ jobs: platform: evergreen-arm64 nightly: ${{ github.event.inputs.nightly }} run_api_leak_detector: true + keep_artifacts: libcobalt.so diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 69e68f383e57..10a4f58a959a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -259,7 +259,7 @@ jobs: uses: ./.github/actions/build - name: 'Upload Artifact' uses: actions/upload-artifact@v4 - if: inputs.keep_artifacts + if: ${{ inputs.keep_artifacts && matrix.sb_api_version == '' }} with: name: ${{ matrix.platform }}-${{ matrix.config }} path: out/${{ matrix.platform }}_${{ matrix.config }}/${{ inputs.keep_artifacts }}