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 10a1eb4 commit da9e899
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 @@ -274,3 +274,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 da9e899

Please sign in to comment.