From bf63170117262287dff073c8946f9ef86715c7eb Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Sat, 7 Dec 2024 22:59:47 +0100 Subject: [PATCH] Update publish.yml with `--no-cache` (#18095) Signed-off-by: Glenn Jocher --- .github/workflows/format.yml | 2 +- .github/workflows/publish.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 84f39b7ebd..f4ac8bdd5a 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -9,7 +9,7 @@ on: types: [opened, edited] discussion: types: [created] - pull_request_target: + pull_request: branches: [main] types: [opened, closed, synchronize, review_requested] diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 19b594a956..59cbed299e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -37,7 +37,7 @@ jobs: python-version: "3.x" - uses: astral-sh/setup-uv@v4 - name: Install dependencies - run: uv pip install --system ultralytics-actions build twine toml + run: uv pip install --system --no-cache ultralytics-actions build twine toml - name: Check PyPI version shell: python run: |