From 51f9552f67f9b544b428eee4eee3440bbf81d092 Mon Sep 17 00:00:00 2001 From: Ryosuke Ito Date: Mon, 8 Jan 2024 17:53:43 +0900 Subject: [PATCH] Update actions/upload-artifact and actions/download-artifact to v4 --- .github/workflows/test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61a6c10..1c015cd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: run: make check | xcpretty - name: Install run: make install | xcpretty - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: failure() with: name: xcnew-xcode-${{ matrix.xcode }}.xcresult @@ -58,9 +58,9 @@ jobs: run: | xcrun xccov view --report --json xcnew.xcresult > coverage.json ./cc-test-reporter format-coverage --input-type xccov --output 'codeclimate-xcode-${{ matrix.xcode }}.json' coverage.json - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: coverages + name: coverages-xcode-${{ matrix.xcode }} path: codeclimate-xcode-${{ matrix.xcode }}.json test-scripts: runs-on: ubuntu-22.04 @@ -77,9 +77,9 @@ jobs: - test - test-scripts steps: - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4 with: - name: coverages + pattern: coverages-xcode-* - name: Install cc-test-reporter run: | curl -Lo cc-test-reporter https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64