Skip to content

Commit 141b42b

Browse files
committed
copy the winget_settings.json before calling winget for the first time
1 parent b46a727 commit 141b42b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/otel_sdk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ jobs:
2828
- run: choco uninstall bazel --yes
2929
- run: cmd /c "dir c:\ || echo swallowing errors"
3030
- run: cmd /c "dir d:\ || echo swallowing errors"
31+
- run: cmd /c "copy .github\workflows\winget_settings.json %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json || echo swallowing errors"
3132
- run: winget list --accept-source-agreements --disable-interactivity
3233
- run: cmd /c "winget --info || echo swallowing errors"
33-
- run: cmd /c "copy .github\workflows\winget_settings.json %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json || echo swallowing errors"
3434
- run: |
3535
winget remove --all --verbose --force --purge --disable-interactivity `
3636
Amazon.AWSCLI `

0 commit comments

Comments
 (0)