Skip to content

Commit fdf7360

Browse files
committed
fixing errors in cmd invocation
1 parent 7898a63 commit fdf7360

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/otel_sdk.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +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"
24+
- run: cmd /c "dir c:\ || echo swallowing errors"
25+
- run: cmd /c "dir d:\ || echo swallowing errors"
2626
- run: |
2727
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
2828
echo Done! LASTEXITCODE=$LASTEXITCODE
29-
- run: cmd /c dir c:\ || echo "swallowing errors"
30-
- run: cmd /c dir d:\ || echo "swallowing errors"
29+
- run: cmd /c "dir c:\ || echo swallowing errors"
30+
- run: cmd /c "dir d:\ || echo swallowing errors"
3131
- run: winget install bazelisk -r bazel --accept-package-agreements --disable-interactivity --silent
3232
- name: Install LLVM with winget (ignore if already installed)
3333
shell: pwsh
@@ -66,7 +66,7 @@ jobs:
6666
$part | Add-PartitionAccessPath -AccessPath c:/d -Verbose
6767
ls c:/d.vhdx
6868
echo empty > c:\d\empty.txt
69-
cmd /c dir c:\d || echo "swallowing errors"
69+
cmd /c "dir c:\d || echo swallowing errors"
7070
refsutil dedup c:\d /s
7171
- name: build minimal otel_sdk
7272
# On the CI, the github runner does not have constant vs2022 msvc release, but has the same vs2019 (14.29.30133)
@@ -80,7 +80,7 @@ jobs:
8080
./otel_sdk_build.cmd minimal
8181
./otel_sdk_build.cmd shutdown
8282
- run: |
83-
cmd /c dir c:\d || echo "swallowing errors"
83+
cmd /c "dir c:\d || echo swallowing errors"
8484
Dismount-VHD -Path "c:/d.vhdx" -Verbose
8585
ls c:/d.vhdx
8686
Resize-VHD -Path "c:/d.vhdx" -ToMinimumSize -Verbose -ErrorAction SilentlyContinue

0 commit comments

Comments
 (0)