We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dd3a7e commit 4f3838dCopy full SHA for 4f3838d
.github/workflows/release.yml
@@ -121,6 +121,17 @@ jobs:
121
versioning: None
122
buildName: ${{ needs.variables.outputs.BUILD_NAME }}
123
124
+ - name: Check Disk Space After Build
125
+ run: |
126
+ echo "Disk space after build:"
127
+ df -h
128
+ AVAILABLE=$(df / | tail -1 | awk '{print $4}')
129
+ AVAILABLE_GB=$(echo $AVAILABLE | sed 's/G//')
130
+ echo "Available space: ${AVAILABLE_GB}GB"
131
+ if (( $(echo "$AVAILABLE_GB < 1" | bc -l) )); then
132
+ echo "::warning::Low disk space! Less than 1GB remaining."
133
+ fi
134
+
135
- uses: actions/upload-artifact@v4
136
with:
137
name: ${{ needs.variables.outputs.BUILD_NAME }}
0 commit comments