File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,18 @@ jobs:
114
114
- name : Initialization for ${{ env.tag_name }} ...
115
115
run : |
116
116
echo ok!
117
+ - name : Release some disk spaces for macos build, initialize latest xcode ...
118
+ if : startsWith(matrix.os, 'macos')
119
+ uses :
maxim-lobanov/[email protected]
120
+ - name : Release some disk spaces for macos build, remove old xcode versions ...
121
+ if : startsWith(matrix.os, 'macos')
122
+ run : |
123
+ echo "Searching for Xcode versions:"
124
+ find /Applications -name "Xcode_*" -maxdepth 1 -mindepth 1
125
+ echo "Removing old Xcode versions..."
126
+ find /Applications -name "Xcode_*" -maxdepth 1 -mindepth 1 | grep -v ${{ matrix.xcode }} | xargs rm -rf
127
+ echo "Available Xcode versions after removal:"
128
+ find /Applications -name "Xcode_*" -maxdepth 1 -mindepth 1
117
129
- name : Building for linux ...
118
130
if : startsWith(matrix.os, 'ubuntu')
119
131
run : |
You can’t perform that action at this time.
0 commit comments