From cedbc59d1037100cdcc88733ddd7275b0c4b74ab Mon Sep 17 00:00:00 2001 From: Ryosuke Ito Date: Tue, 9 Jan 2024 01:50:56 +0900 Subject: [PATCH] Update actions/upload-artifact and download-artifact to v4 --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d8acbb..a621593 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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