Add CI cache pruning (#17664)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Ultralytics Assistant <135830346+UltralyticsAssistant@users.noreply.github.com> Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
bf63170117
commit
118edde3ba
3 changed files with 7 additions and 1 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -82,6 +82,8 @@ jobs:
|
|||
PR_TITLE=$(echo "${PR_JSON}" | jq -r '.title')
|
||||
echo "PR_NUMBER=${PR_NUMBER}" >> "${GITHUB_ENV}"
|
||||
echo "PR_TITLE=${PR_TITLE}" >> "${GITHUB_ENV}"
|
||||
- name: Prune uv Cache
|
||||
run: uv cache prune --ci
|
||||
- name: Notify on Slack (Success)
|
||||
if: success() && github.event_name == 'push' && steps.check_pypi.outputs.increment == 'True'
|
||||
uses: slackapi/slack-github-action@v2.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue