Skip to content

Commit

Permalink
Update the upload-artifact GHA worklow version (#4769)
Browse files Browse the repository at this point in the history
b/392611572
  • Loading branch information
arjungm authored Jan 28, 2025
1 parent fbc31e0 commit cfc654b
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/actions/on_host_test/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,18 +103,23 @@ runs:
tags="platform:${{ matrix.platform }}"
tags="${tags},os:${{ inputs.os }}"
echo $tags > ${TEST_RESULTS_DIR}/${{ matrix.platform }}/TAGS
- name: Archive unit test results
uses: actions/upload-artifact@v3
if: (success() || failure()) && steps.run-tests.outputs.test_type == 'unit_tests'
with:
name: unit-test-results
path: ${{env.TEST_RESULTS_DIR}}/
- name: Archive coverage html report
if: success() && matrix.shard == 'coverage'
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: ${{env.COVERAGE_DIR}}/html
# TODO(b/392611572)
# Temporarily disabled because we need to upgrade to v4, but that
# requires additional work to build workflows that consume the uploaded test
# results.
#
# - name: Archive unit test results
# uses: actions/upload-artifact@v3
# if: (success() || failure()) && steps.run-tests.outputs.test_type == 'unit_tests'
# with:
# name: unit-test-results
# path: ${{env.TEST_RESULTS_DIR}}/
# - name: Archive coverage html report
# if: success() && matrix.shard == 'coverage'
# uses: actions/upload-artifact@v3
# with:
# name: coverage-report
# path: ${{env.COVERAGE_DIR}}/html
- name: Upload to Codecov
if: success() && matrix.shard == 'coverage'
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit cfc654b

Please sign in to comment.