Skip to content

Commit

Permalink
Upgrade "actions/upload-artifact" GitHub Action (#205)
Browse files Browse the repository at this point in the history
Upgrade "actions/upload-artifact" GitHub Action
  • Loading branch information
aik099 authored Oct 31, 2024
1 parent 486cff9 commit 6be6d9a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand All @@ -52,7 +52,7 @@ jobs:
ini-values: date.timezone=Europe/Paris, error_reporting=-1, display_errors=On

- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node }}"

Expand All @@ -78,14 +78,15 @@ jobs:
vendor/bin/phpunit -v --coverage-clover=coverage.clover
- name: Upload code coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.clover

- name: Archive logs artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: logs_php-${{ matrix.php }}
name: logs_php-${{ matrix.php }}_zombie${{ matrix.zombie }}_node-${{ matrix.node }}
path: |
logs

0 comments on commit 6be6d9a

Please sign in to comment.