Skip to content

Commit

Permalink
Update actions/upload-artifact and download-artifact to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
manicmaniac committed Jan 8, 2024
1 parent 1d542fe commit cedbc59
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,18 @@ jobs:
CC_TEST_REPORTER_ID: dummy # https://github.com/codeclimate/test-reporter/issues/495
- name: Format coverage
run: ./cc-test-reporter format-coverage --input-type simplecov --output 'codeclimate-${{ matrix.ruby-version }}.json'
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverages
name: coverages-ruby-${{ matrix.ruby-version }}
path: codeclimate-${{ matrix.ruby-version }}.json
upload-coverage:
runs-on: ubuntu-22.04
needs: test
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverages
pattern: coverages-*
merge-multiple: true
- name: Install cc-test-reporter
run: |
curl -Lo cc-test-reporter https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64
Expand Down

0 comments on commit cedbc59

Please sign in to comment.