Skip to content

Commit

Permalink
Delete artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Jul 31, 2023
1 parent 44a062e commit 74900d9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on: # yamllint disable-line rule:truthy
branches: [master, release-*]
paths-ignore:
- '**.md'
workflow_dispatch

jobs:
linter:
Expand Down Expand Up @@ -273,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 74900d9

Please sign in to comment.