Skip to content

Commit

Permalink
🤖 Update upload-artifact and download-artifact
Browse files Browse the repository at this point in the history
CI was getting errors because the versions we were previously using were
deprecated.  This commit updates the actions to the latest versions.
  • Loading branch information
kirkkwang committed Sep 17, 2024
1 parent b511db6 commit 5174798
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@ jobs:
- name: Run rspec
run: bundle exec rake spec

- name: List coverage files before upload
run: ls -la coverage

- name: Upload coverage results
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4.4.0
with:
name: coverage-report-${{ matrix.ruby }}
path: coverage
Expand All @@ -55,12 +58,20 @@ jobs:
needs: rspec

steps:
- uses: actions/checkout@v2

- name: Download coverage report
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4.1.8
with:
name: coverage-report-2.7
path: coverage

- name: List files in workspace
run: ls -la

- name: List coverage files
run: ls -la coverage

- name: SimpleCov Check
uses: vigetlabs/[email protected]
with:
Expand Down

0 comments on commit 5174798

Please sign in to comment.