Skip to content

Commit 7898a63

Browse files
committed
remove packages that are not needed to save disk space
1 parent 7678b0b commit 7898a63

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/otel_sdk.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
- run: choco uninstall bazel --yes
2222
# - uses: Cyberboss/install-winget@6f566e9e227561d5d31e45d65f9b777b3fa8f56f
2323
- run: winget list --accept-source-agreements --disable-interactivity
24+
- run: cmd /c dir c:\ || echo "swallowing errors"
25+
- run: cmd /c dir d:\ || echo "swallowing errors"
26+
- run: |
27+
winget remove --all --verbose --force --purge --accept-package-agreements --disable-interactivity Anaconda.Miniconda3 Mozilla.Firefox ShiningLight.OpenSSL.Dev PostgreSQL.PostgreSQL.17 RProject.R RProject.Rtools Unity.UnityHub Amazon.SAM-CLI Microsoft.AzureCLI Microsoft.webpicmd Google.Chrome StrawberryPerl.StrawberryPerl Microsoft.ServiceFabricSDK OpenJS.NodeJS.LTS Amazon.AWSCLI Microsoft.WebDeploy Microsoft.Azure.CosmosEmulator MongoDB.Shell MongoDB.Server WiXToolset.WiXToolset Amazon.SessionManagerPlugin sbt.sbt
28+
echo Done! LASTEXITCODE=$LASTEXITCODE
29+
- run: cmd /c dir c:\ || echo "swallowing errors"
30+
- run: cmd /c dir d:\ || echo "swallowing errors"
2431
- run: winget install bazelisk -r bazel --accept-package-agreements --disable-interactivity --silent
2532
- name: Install LLVM with winget (ignore if already installed)
2633
shell: pwsh

0 commit comments

Comments
 (0)