Skip to content

Commit

Permalink
Upload list of artifacts matched with a wildcard (#3937)
Browse files Browse the repository at this point in the history
b/291954423
  • Loading branch information
haozheng-cobalt authored Aug 7, 2024
1 parent e8394fe commit 315901e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/evergreen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
platform: evergreen-x64
nightly: ${{ github.event.inputs.nightly }}
run_api_leak_detector: true
keep_artifacts: libcobalt.so
keep_artifacts: libcobalt.*
evergreen-arm-hardfp:
uses: ./.github/workflows/main.yaml
permissions:
Expand All @@ -41,7 +41,7 @@ jobs:
platform: evergreen-arm-hardfp
nightly: ${{ github.event.inputs.nightly }}
run_api_leak_detector: true
keep_artifacts: libcobalt.so
keep_artifacts: libcobalt.*
evergreen-arm-softfp:
uses: ./.github/workflows/main.yaml
permissions:
Expand All @@ -51,7 +51,7 @@ jobs:
platform: evergreen-arm-softfp
nightly: ${{ github.event.inputs.nightly }}
run_api_leak_detector: true
keep_artifacts: libcobalt.so
keep_artifacts: libcobalt.*
evergreen-arm64:
uses: ./.github/workflows/main.yaml
permissions:
Expand All @@ -61,4 +61,4 @@ jobs:
platform: evergreen-arm64
nightly: ${{ github.event.inputs.nightly }}
run_api_leak_detector: true
keep_artifacts: libcobalt.so
keep_artifacts: libcobalt.*
4 changes: 2 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@ jobs:
uses: ./.github/actions/build
- name: 'Upload Artifact'
uses: actions/upload-artifact@v4
if: ${{ inputs.keep_artifacts && matrix.sb_api_version == '' }}
if: ${{ inputs.keep_artifacts }}
with:
name: ${{ matrix.platform }}-${{ matrix.config }}
path: out/${{ matrix.platform }}_${{ matrix.config }}/${{ inputs.keep_artifacts }}
path: out/${{ matrix.target_platform }}_${{ matrix.config }}/${{ inputs.keep_artifacts }}
retention-days: 7
compression-level: 0 # We expect kept artifacts to be already compressed
if-no-files-found: error
Expand Down

0 comments on commit 315901e

Please sign in to comment.