Skip to content

Commit 77e2946

Browse files
authored
delete Python from hosted tool cache at start of PR, Push, and Release actions (#285)
1 parent fa9ef29 commit 77e2946

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
# pre-installed tools to make space.
3737
- name: Free up disk space by deleting /opt/hostedtoolcache/CodeQL
3838
run: rm -rf /opt/hostedtoolcache/CodeQL
39+
- name: Free up disk space by deleting /opt/hostedtoolcache/Python
40+
run: rm -rf /opt/hostedtoolcache/Python
3941

4042
# Login against a Docker registry
4143
# https://github.com/docker/login-action

.github/workflows/push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
# pre-installed tools to make space.
3030
- name: Free up disk space by deleting /opt/hostedtoolcache/CodeQL
3131
run: rm -rf /opt/hostedtoolcache/CodeQL
32+
- name: Free up disk space by deleting /opt/hostedtoolcache/Python
33+
run: rm -rf /opt/hostedtoolcache/Python
3234

3335
# Login against a Docker registry
3436
# https://github.com/docker/login-action

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
# pre-installed tools to make space.
3030
- name: Free up disk space by deleting /opt/hostedtoolcache/CodeQL
3131
run: rm -rf /opt/hostedtoolcache/CodeQL
32+
- name: Free up disk space by deleting /opt/hostedtoolcache/Python
33+
run: rm -rf /opt/hostedtoolcache/Python
3234

3335
# Login against a Docker registry
3436
# https://github.com/docker/login-action

0 commit comments

Comments
 (0)