Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions/upload-artifact and actions/download-artifact to v4 #204

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -77,9 +77,10 @@ jobs:
- test
- test-scripts
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverages
pattern: coverages-xcode-*
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