We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f642ef commit 7878984Copy full SHA for 7878984
.github/workflows/release.yml
@@ -67,6 +67,20 @@ jobs:
67
with:
68
egress-policy: audit
69
70
+ - name: Free up disk space
71
+ run: |
72
+ initial_space=$(df / | grep / | awk '{print $4}')
73
+ docker system prune -af
74
+ rm -rf /usr/share/dotnet
75
+ rm -rf /opt/ghc
76
+ rm -rf /usr/local/share/boost
77
+ rm -rf $AGENT_TOOLSDIRECTORY
78
+ rm -rf /opt/hostedtoolcache
79
+
80
+ final_space=$(df / | grep / | awk '{print $4}')
81
+ difference=$((final_space - initial_space))
82
+ echo "Disk space difference (in KB): $difference"
83
84
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
85
86
- name: Publish to DockerHub Registry
0 commit comments