We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7573bce commit 6a74d0fCopy full SHA for 6a74d0f
1 file changed
.github/workflows/release-kbcli.yml
@@ -40,6 +40,18 @@ jobs:
40
name: Upload and release kbcli
41
runs-on: ubuntu-22.04
42
steps:
43
+ - name: Free disk space
44
+ run: |
45
+ df -h
46
+ echo "free disk space"
47
+ sudo apt-get autoremove -y >/dev/null 2>&1
48
+ sudo apt-get autoclean -y >/dev/null 2>&1
49
+ sudo rm -rf /usr/local/lib/android >/dev/null 2>&1
50
+ docker rmi $(docker image ls -aq) >/dev/null 2>&1
51
+ sudo swapoff -a
52
+ sudo rm -f /swapfile
53
54
+
55
- uses: actions/checkout@v4
56
- name: install lib
57
run: |
@@ -73,6 +85,7 @@ jobs:
73
85
74
86
- name: upload .rpm and .deb to fury.io
75
87
88
76
89
for file in $(find "${{ github.workspace }}/dist" -type f | grep -E '\.(deb|rpm)$'); do
77
90
echo "Processing file: $file"
78
91
curl -F package=@$file https://${{ env.FURY_TOKEN }}@push.fury.io/${{ env.FURY_ACCOUNT }}/
0 commit comments