Skip to content

Commit

Permalink
Clean up artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Aug 12, 2023
1 parent e1396e0 commit a67d5c4
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -277,3 +277,17 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
verbose: true

cleanup:
name: Cleanup artifacts
needs: [unit-tests-linux, coverage]
runs-on: [ubuntu-latest]
if: |
always() &&
needs.coverage.result == 'success' ||
(needs.unit-tests-linux == 'success' && needs.coverage == 'skipped')
steps:
- uses: geekyeggo/delete-artifact@v2
with:
name: coverage-data

0 comments on commit a67d5c4

Please sign in to comment.