Skip to content

Commit f3fc504

Browse files
Update Python cache clearing step in workflow
1 parent 48bee52 commit f3fc504

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/python-app.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ jobs:
5555
# fi
5656
# - name: Force reinstall pip
5757
# run: python3 -m ensurepip --upgrade
58-
- name: Clear Python tool cache
59-
run: |
60-
echo "Clearing Python tool cache at $RUNNER_TOOL_CACHE..."
61-
rm -rf "$RUNNER_TOOL_CACHE/Python"
58+
- name: Clear Python cache with sudo
59+
run: sudo rm -rf "$RUNNER_TOOL_CACHE/Python"
6260
- name: Set up Python
6361
uses: actions/setup-python@v6
6462
with:

0 commit comments

Comments
 (0)