From 2ae8495d3c1519e9c3fae748de62ba509b78cb19 Mon Sep 17 00:00:00 2001 From: Hao <131711973+haozheng-cobalt@users.noreply.github.com> Date: Fri, 12 Jul 2024 13:30:29 -0700 Subject: [PATCH] Upload libcobalt.so for evergreen (#3827) b/291954423 Change-Id: I78cb296af7902f4177fc391cb07a26269a15a4e5 --- .github/workflows/evergreen.yaml | 4 ++++ .github/workflows/main.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 }}