We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78fd631 commit 6a1ff03Copy full SHA for 6a1ff03
.github/workflows/distribute-toolchain.yml
@@ -61,6 +61,17 @@ jobs:
61
DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64: ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_BASE64 }}
62
DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD: ${{ secrets.DARWIN_TOOLCHAIN_INSTALLER_CERT_PASSWORD }}
63
64
+ - name: Free disk space by removing unused Xcode
65
+ run: |
66
+ IN_USE_XCODE=$(xcode-select -p)
67
+ echo "Removing all Xcode installations except $IN_USE_XCODE"
68
+ for xcode in /Applications/Xcode*.app; do
69
+ if [[ $IN_USE_XCODE != "$xcode"* ]]; then
70
+ echo "Removing $xcode"
71
+ rm -rf $xcode
72
+ fi
73
+ done
74
+
75
- run: ./tools/gh-distribute-toolchain --scheme ${{ inputs.scheme }} --verbose --skip-history ${{ inputs.run-id }}
76
working-directory: ./swiftwasm-build
77
env:
0 commit comments