We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64413be commit dbade71Copy full SHA for dbade71
.github/workflows/build.yaml
@@ -290,13 +290,17 @@ jobs:
290
iwr -useb get.scoop.sh | iex
291
292
# ensure buckets and update
293
- scoop bucket add extras 2>$null || Write-Host "extras already present"
+ if (-not (scoop bucket list | Select-String -Quiet '^extras$')) {
294
+ scoop bucket add extras
295
+ } else {
296
+ Write-Host "extras already present"
297
+ }
298
scoop update
299
300
# install packages
301
scoop install nsis 7zip
302
- # ensure scoop shims are on PATH for subsequent steps in the same job
303
+ # ensure scoop shims are on PATH for subsequent steps
304
$scoopShims = Join-Path $env:USERPROFILE 'scoop\shims'
305
if (Test-Path $scoopShims) {
306
$env:PATH = "$scoopShims;$env:PATH"
0 commit comments